kylebakerio / mindseal

next-gen cross-platform open-source buzzword-happy SRS
http://mindseal.kylebaker.io
2 stars 1 forks source link

add babel #83

Open kylebakerio opened 8 years ago

kylebakerio commented 8 years ago

// deploying and developing with babel

DEV -just a require hook? -linting pre-commit hook

DEPLOY -removes require hook -has heroku file (delete heroku file from dev 'master' repo) -run the npm babel build script script -(also: concat, uglify, minify)

...?

-add dev folder to .gitignore -run meta npm script to:

  1. babel transpile
  2. concat/uglify/minify

() ideally here, you'd have a heroku-staging remote: git push heroku-staging heroku-branch:master

if it looks good: git push heroku heroku-branch:master