Cookiecutter template for creating a new NPM Package using TypeScript
- Create a new github repo (choose to create a readme.md and license if appropriate)
- Sync the github repo to your local machine.
cd
into the folder- Run:
docker run --rm -it -v $(pwd)/..:/app/ -w /app/ python:3.12 bash -c "mkdir -p cookiecutter; cd cookiecutter; pip install cookiecutter && cookiecutter https://github.com/icanbwell/helix-npm-template.git -v -f -o ../"
- This will ask you for the parameters. Be sure to use your github repo name as the directory name
- If you get a permission error running pre-commit then run:
chmod +x ./.git/hooks/pre-commit