Skip to content

Commit 1f4d762

Browse files
committed
Bump to latest version of babel-core, move babel args into package definition
1 parent f940fcd commit 1f4d762

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,26 @@
2929
"options": {
3030
"mocha": "--require scripts/mocha-bootload src/**/__tests__/**/*.js"
3131
},
32+
"babel": {
33+
"optional": ["runtime", "es7.asyncFunctions"]
34+
},
3235
"scripts": {
3336
"prepublish": "npm test && npm run build",
3437
"test": "npm run lint && npm run check && mocha $npm_package_options_mocha",
3538
"testonly": "mocha $npm_package_options_mocha",
3639
"lint": "eslint src",
3740
"check": "flow check",
3841
"cover": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
39-
"build": "rm -rf lib/* && babel src --ignore __tests__ --optional runtime,es7.asyncFunctions --out-dir lib",
40-
"watch": "babel --optional runtime,es7.asyncFunctions scripts/watch.js | node",
42+
"build": "rm -rf lib/* && babel src --ignore __tests__ --out-dir lib",
43+
"watch": "babel scripts/watch.js | node",
4144
"coveralls": "babel-node node_modules/.bin/isparta cover --report html node_modules/.bin/_mocha --report lcovonly -- $npm_package_options_mocha && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
4245
},
4346
"dependencies": {
44-
"babel-runtime": "5.6.12"
47+
"babel-runtime": "5.7.0"
4548
},
4649
"devDependencies": {
47-
"babel": "5.6.14",
48-
"babel-core": "5.6.20",
50+
"babel": "5.6.23",
51+
"babel-core": "5.7.2",
4952
"babel-eslint": "3.1.23",
5053
"chai": "3.0.0",
5154
"chai-as-promised": "5.1.0",

0 commit comments

Comments
 (0)