- ES6 / ES7 transpilation with Babel
- ES6+ minification with Babili babili
- ES6+ Testing via babel-register with Mocha & Chai
- HTML Test Reports via mochawesome
- Code Linting with ESLint
- Benchmark Testing with benchmark.js
- Code monitoring and auto server restart with nodemon
- Security vulnerability scan with nsp
- Docker build for non-lib projects.
npm start
- execute code insrc
directory with live reload vianodemon
transpiled withbabel-node
npm run serve:dev <target>
- execute target code with live reload vianodemon
transpiled withbabel-node
npm run benchmark
- run benchmark tests withbenchmark.js
npm run benchmark:watch
- run benchmark tests withbenchmark.js
and watch for file changesnpm run lint
- code linting witheslint
npm run lint:fix
- fix problems automatically witheslint
npm test
- run tests withmocha
andchai
with spec as reporter andnyc
code coveragenpm run test:watch
- run tests withmocha
andchai
and watch for changesnpm run test:report
- export tests results as html files in the./reports
folder viamochasome
npm run build:dist
- transpile and minify ES6+ code and create sourcemaps withbabel
&babili
npm run serve:dist
- serve production files from the./dist
folder vianode
npm run scan:security
- run vulnerability tests via the node security platformnsp
Testing with Mocha and Chai, HTML Reports via mochawesome
npm test
Benchmark Testing with Benchmark.js
npm run benchmark
Run vulnerability tests via Node Security Project