Cookiecutter for Node.js with Typescript, Webpack, Eslint, Jest, Prettier, GitHub Actions, Coveralls and SonarQube.
Typescript
, Webpack
, Prettier
, Jest
, Eslint
, GitHub Actions
, Codecov
, SonarQube
.
Note:
- for
Codecov
to work you must set theCODECOV_TOKEN
environment variable underSecrets
, otherwise remove:codecov
fromyarn test
on.github/workflows/config.yml
. - for
SonarQube
to work you must set theSONAR_TOKEN
andSONAR_HOST
environment variables underSecrets
, otherwise comment or remove thequality
job from.github/workflows/config.yml
. - to
publish
from the pipeline you must set theNPM_TOKEN
environment variables underSecrets
, otherwise comment or remove thepublish
job from.github/workflows/config.yml
.
Install cookiecutter:
$ pip install --user cookiecutter
Create a new repo:
$ cookiecutter [email protected]:Sighmir/cookiecutter-node-typescript