Skip to content

Commit 57249c7

Browse files
author
Alexey Litvinov
committed
test command updated for babel
1 parent 60460ad commit 57249c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
},
99
"scripts": {
1010
"build": "babel lib --out-dir lib && babel preset.js --out-file preset.js",
11-
"test": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --harmony_destructuring --harmony_spread_arrays --use_strict",
12-
"test:w": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --watch --harmony_destructuring --harmony_spread_arrays --use_strict",
11+
"test": "npm run test:babel",
1312
"test:babel": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --compilers js:babel-register",
13+
"test:node": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --harmony_destructuring --harmony_spread_arrays --use_strict",
14+
"test:watch": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --watch --harmony_destructuring --harmony_spread_arrays --use_strict",
1415
"test:unit": "mocha --require test/setup.js --ui tdd test/*/*.js"
1516
},
1617
"repository": {

0 commit comments

Comments
 (0)