Commit debd3b98 by kzc Committed by Marijn Haverbeke

use local ./register.js for mocha tests rather than node_modules/buble/register.js (#153)

parent 9ffad4f7
Pipeline #5379238 passed with stage
in 3 minutes 43 seconds
Showing with 2 additions and 2 deletions
......@@ -16,9 +16,9 @@
"build:umd": "rollup -c -f umd -o dist/buble.umd.js",
"build:browser": "rollup -c --environment DEPS -f umd -o dist/buble.deps.js",
"build:es": "rollup -c -f es6 -o dist/buble.es.js",
"test": "mocha test/test.js --compilers js:buble/register",
"test": "mocha test/test.js --compilers js:./register",
"pretest": "npm run build:umd && npm run build:browser",
"test:node": "mocha test/test.js --compilers js:buble/register",
"test:node": "mocha test/test.js --compilers js:./register",
"pretest:node": "npm run build:umd",
"prepublish": "npm test && npm run build:es",
"lint": "eslint src"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment