☝️ Using get-template:
npx get-template package
Create a TypeScript package with the essential tools:
- Initialized git repository
- Exports to ESM
- Exports to CJS
- Accepts tests
- Base class created
npx create-base-package
This will download the template in the directory you are executing this command. You can pass an argument to change the directory:
npx create-base-package my-new-package-name
The directory must be empty. If not, it won't download the template
You can access the template here: itaibo/package-template