mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 04:35:49 +00:00
Include --optional runtime when babel compiles
This commit is contained in:
@@ -41,8 +41,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gulp",
|
"build": "gulp",
|
||||||
"compile": "babel -i runtime -d dist/npm/ src/",
|
"compile": "babel --optional runtime -d dist/npm/ src/",
|
||||||
"compile-with-source-maps": "babel -i runtime -s -t -d dist/npm/ src/",
|
"compile-with-source-maps": "babel --optional runtime -s -t -d dist/npm/ src/",
|
||||||
"prepublish": "npm test && npm run lint && npm run compile",
|
"prepublish": "npm test && npm run lint && npm run compile",
|
||||||
"test": "istanbul test _mocha",
|
"test": "istanbul test _mocha",
|
||||||
"coveralls": "cat ./coverage/lcov.info | coveralls",
|
"coveralls": "cat ./coverage/lcov.info | coveralls",
|
||||||
|
|||||||
Reference in New Issue
Block a user