npm.io
1.0.3 • Published 8 years ago

npm-node-boilerplate

Licence
MIT
Version
1.0.3
Deps
1
Size
650 kB
Vulns
0
Weekly
0

Boilerplate for nodejs npm package

Dependency Status devDependency Status

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

  1. 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
  1. Change project specific information in the following places
  1. Install and update dependencies
$ yarn install
$ yarn deps # run updates if available
  1. Run tests
$ yarn test
  1. Start coding

Keywords