File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 29
29
},
30
30
"scripts" : {
31
31
"prepublish" : " npm test && npm run build" ,
32
- "test" : " npm run lint && npm run check && mocha $npm_package_options_mocha " ,
33
- "testonly" : " mocha $npm_package_options_mocha" ,
32
+ "test" : " npm run lint && npm run check && npm run testonly " ,
33
+ "testonly" : " babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha" ,
34
34
"lint" : " eslint src" ,
35
35
"check" : " flow check" ,
36
36
"build" : " rm -rf lib/* && babel src --ignore __tests__ --out-dir lib" ,
52
52
"babel-plugin-transform-runtime" : " 6.9.0" ,
53
53
"babel-preset-es2015" : " 6.9.0" ,
54
54
"babel-preset-stage-2" : " 6.5.0" ,
55
- "babel-register" : " 6.9.0" ,
56
55
"chai" : " 3.5.0" ,
57
56
"chai-as-promised" : " 5.3.0" ,
58
57
"coveralls" : " 2.11.9" ,
59
58
"eslint" : " 2.10.2" ,
60
- "eslint-plugin-flowtype" : " ^ 2.11.4" ,
59
+ "eslint-plugin-flowtype" : " 2.11.4" ,
61
60
"flow-bin" : " 0.25.0" ,
62
- "graphql" : " 0.6 .0" ,
61
+ "graphql" : " 0.7 .0" ,
63
62
"isparta" : " 4.0.0" ,
64
63
"mocha" : " 2.5.3" ,
65
64
"sane" : " 1.3.4"
Original file line number Diff line number Diff line change 7
7
* of patent rights can be found in the PATENTS file in the same directory.
8
8
*/
9
9
10
- require ( 'babel-register' ) ;
11
-
12
10
var chai = require ( 'chai' ) ;
13
11
14
12
var chaiAsPromised = require ( 'chai-as-promised' ) ;
You can’t perform that action at this time.
0 commit comments