es6-nodejs-setup
v1.0.0
Published
ES6 Node js project starter kit to write Services within a minute using latest tools
Downloads
2
Maintainers
Readme
es6-nodejs-project-kickstart
Tools Used
Quick Start
- Make sure you have recent, stable version of nodejs in your system. Please check version before run
$ node -v
Clone or download this repository.
Run this following command in your terminal from the project folder
$ npm install
List of Commands/Tasks
Lint
Perform eslint in your project
$ npm run lint
Lint Fix
Most of the errors reported by eslint fixed by using this command
$ npm run lint-fix
Test
This will run all test cases
$ node test
Generate nyc report -- (optional command)
After testcases passed this will generate nyc report and uploads to codecov
$ node report-coverage
Build (Transpiled)
This will create '/dist' folder and converts the ES6 code into es5
$ node run build
Start nodejs server
$ node start