npm i json -g
export project=project_name
mkdir $project
cd $project
npm init -y
npm i babel-cli babel-preset-es2015 browserify babelify wzrd -D
json -I -f package.json -e 'this.browserify = { "transform": [["babelify", { "presets": ["es2015"] }]]}'
json -I -f package.json -e 'this.scripts.start = "wzrd src/app.js"'
mkdir src
touch src/app.js
Last active
May 9, 2016 01:24
-
-
Save twilson63/239683c569a17e25ec35 to your computer and use it in GitHub Desktop.
How to setup babel with browserify and babelify
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment