Transpile src/js
to build/js/bundle.js
using webpack and Babel
npm run js
npm run js:watch
Spins up a dev server to host the static files/watches the js files and transpiles on changes.
npm run serve
JSX and ES2015 are supported. Add/modify the rules in .eslintrc
to taste.
npm run lint
Uses tape
to run the tests required in test/index.js
npm run test
Deploys the static files to surge.
Optionally create a gh-pages
branch and deploy straight to github.
npm run deploy