Boilerplate for nodejs npm package
Tech-Stack
Scripts
# start development mode with nodemon
yarn dev
# run tests with jest
yarn test
# start continous integration testing with jest
yarn ci
# generate the jsdoc documentation
yarn jsdoc
# run eslint
yarn lint
# check for dependendies updates
yarn deps
# build with babel
yarn build
Usage
- Clone the repository and init new git project
$ git clone git@github.com:mbaertschi/npm-node-boilerplate.git ./your/project/folder
$ cd ./your/project/folder
$ rm -rf .git
$ git init
- Change project specific information in the following places
- Install and update dependencies
$ yarn install
$ yarn deps # run updates if available
- Run tests
$ yarn test
- Start coding