1
0
Fork 0

Add babelify to build

ES6 => ES5
babel
Mike Gerwitz 2015-12-24 00:40:54 -05:00
parent d42ca3f9cf
commit a731325461
2 changed files with 5 additions and 3 deletions

View File

@ -33,6 +33,7 @@ standalone: lasertank.js
lasertank.js: modindex lasertank.js: modindex
./node_modules/.bin/browserify \ ./node_modules/.bin/browserify \
-t strictify \ -t strictify \
-t babelify \
-s lasertank \ -s lasertank \
--debug \ --debug \
src/index.js \ src/index.js \

View File

@ -18,10 +18,11 @@
"easejs": ">=0.2.7" "easejs": ">=0.2.7"
}, },
"devDependencies": { "devDependencies": {
"chai": ">=1.9.1", "babelify": ">=7.2",
"mocha": ">=1.18.2",
"browserify": "~12", "browserify": "~12",
"strictify": "~0.2" "chai": ">=1.9.1",
"mocha": ">=1.18.2",
"strictify": "~0.2"
}, },
"license": "AGPL-3.0", "license": "AGPL-3.0",