A very minimal base frontend JavaScript project configured with some of my preferences.
- webpack (with babel-loader)
- babel-polyfill (core-js's ES2015 Polyfills + Regenerator Runtime)
core-js/stage/4
(All Stage 4 ECMAScript Proposals)- mocha/chai/sinon tests running in karma
- eslint with the airbnb rules
- source maps
Some npm scripts are provided:
start
- Run development server with watcher on port 8080build
- Build minified js output bundle todist/bundle.js
test
- Run tests oncelint
- Lint codebasewatch-tests
- Run tests repeatedly on file change