Denver-Devs / heliograph

Just stuff
GNU General Public License v3.0
1 stars 0 forks source link

heliograph

commands

build the js

Transpile src/js to build/js/bundle.js using webpack and Babel

npm run js

watch and build the js

npm run js:watch

build, watch and serve the app

Spins up a dev server to host the static files/watches the js files and transpiles on changes.

npm run serve

lint the js

js-standard-style

JSX and ES2015 are supported. Add/modify the rules in .eslintrc to taste.

npm run lint 

test

Uses tape to run the tests required in test/index.js

npm run test 

deploy

Deploys the static files to surge.

Optionally create a gh-pages branch and deploy straight to github.

npm run deploy