Skip to content

joshwiens/es2017-babel-boilerplate

Repository files navigation

ES7+ Babel driven library boilerplate

test coverage quality issues

Contents

Features

Usage

  • npm start - execute code in src directory with live reload via nodemon transpiled with babel-node
  • npm run serve:dev <target> - execute target code with live reload via nodemon transpiled with babel-node
  • npm run benchmark - run benchmark tests with benchmark.js
  • npm run benchmark:watch - run benchmark tests with benchmark.js and watch for file changes
  • npm run lint - code linting with eslint
  • npm run lint:fix - fix problems automatically with eslint
  • npm test - run tests with mocha and chai with spec as reporter and nyc code coverage
  • npm run test:watch - run tests with mocha and chai and watch for changes
  • npm run test:report - export tests results as html files in the ./reports folder via mochasome
  • npm run build:dist - transpile and minify ES6+ code and create sourcemaps with babel & babili
  • npm run serve:dist - serve production files from the ./dist folder via node
  • npm run scan:security - run vulnerability tests via the node security platform nsp

Testing

Testing with Mocha and Chai, HTML Reports via mochawesome

npm test

Benchmarking Suite

Benchmark Testing with Benchmark.js

npm run benchmark

Security

Run vulnerability tests via Node Security Project

About

It's boilerplate, not a seed project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published