File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 3
3
.gitignore
4
4
.npmignore
5
5
.travis.yml
6
+ coverage
6
7
demo
Original file line number Diff line number Diff line change 10
10
"build" : " babel lib --out-dir lib && babel preset.js --out-file preset.js" ,
11
11
"test" : " npm run test:babel" ,
12
12
"test:babel" : " NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --compilers js:babel-register" ,
13
+ "test:coverage" : " NODE_PATH=$(pwd)/test/tokens/node_modules babel-node --presets es2015 `npm bin`/isparta cover --report text --report html `npm bin`/_mocha -- --require test/setup.js --ui tdd test/*/*.js" ,
13
14
"test:node" : " NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --harmony_destructuring --harmony_spread_arrays --use_strict" ,
14
15
"test:watch" : " NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --watch --harmony_destructuring --harmony_spread_arrays --use_strict" ,
15
16
"test:unit" : " mocha --require test/setup.js --ui tdd test/*/*.js"
51
52
"babel-cli" : " ^6.5.1" ,
52
53
"babel-preset-es2015" : " ^6.5.0" ,
53
54
"babel-register" : " ^6.5.2" ,
55
+ "isparta" : " ^4.0.0" ,
54
56
"mocha" : " ^2.4.5" ,
55
57
"sinon" : " ^1.17.3"
56
58
}
You can’t perform that action at this time.
0 commit comments