File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 23
23
"babel-register" : " ^6.14.0" ,
24
24
"eslint" : " ^4.5.0" ,
25
25
"eslint-plugin-prettier" : " ^2.2.0" ,
26
+ "istanbul" : " ^0.4.5" ,
26
27
"prettier" : " ^1.5.3" ,
27
28
"webpack" : " ^1.13.2" ,
28
29
"webpack-polyfills-plugin" : " 0.0.9"
38
39
"node" : " >=4.0.0"
39
40
},
40
41
"scripts" : {
41
- "test" : " nodeunit ./test/node" ,
42
+ "test" : " mocha ./test/node" ,
42
43
"build" : " webpack --config ./webpack.dist.config.js" ,
43
44
"lint" : " eslint lib test" ,
44
45
"format" :
45
- " prettier --print-width 100 --tab-width 2 --single-quote --write 'test/**/*.js' 'lib/**/*.js'"
46
+ " prettier --print-width 100 --tab-width 2 --single-quote --write 'test/**/*.js' 'lib/**/*.js'" ,
47
+ "coverage" :
48
+ " istanbul cover _mocha -- --recursive --ui tdd test/node"
46
49
},
47
50
"browser" : " lib/bson/bson.js" ,
48
51
"license" : " Apache-2.0" ,
49
52
"dependencies" : {
50
- "chai" : " ^4.1.2"
53
+ "chai" : " ^4.1.2" ,
54
+ "mocha" : " ^3.5.3"
51
55
}
52
56
}
You can’t perform that action at this time.
0 commit comments