Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.
/ npm-boilerplate Public archive

Barebones boilerplate using `npm run-script`.

License

Notifications You must be signed in to change notification settings

yuanqing/npm-boilerplate

Repository files navigation

npm-boilerplate Version Build Status

Barebones boilerplate using npm run-script.

Tooling

Commands

npm run lint

Lint index.js, test/*.js, benchmark/*.js, and karma.conf.js.

npm test

Run the tests in test/, and write code coverage reports into coverage/.

npm run test-browser

Run the tests in test/ in the browser, and write code coverage reports into coverage/.

npm run benchmark

Run the benchmarks in benchmark/.

npm run dist

Bundle index.js as a standalone module, and write foo.js (with source map) and foo.min.js (minified) into dist/.

npm run build

Run all of the above tasks.

License

MIT