File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ before_script:
21
21
- " [ $DOWNGRADE = false ] || npm install rollup@1"
22
22
script :
23
23
- " [ $EXTRA = false ] || npm run lint"
24
+ - npm run prepare-tests
24
25
- " [ $EXTRA = true ] || npm run test-node"
25
26
- " [ $EXTRA = false ] || npm run coveralls"
26
27
- " [ $EXTRA = false ] || npm run test-browser"
Original file line number Diff line number Diff line change 71
71
"colors@>1.4.0" : " 1.4.0"
72
72
},
73
73
"scripts" : {
74
- "test" : " npm run lint && npm run test-node" ,
75
- "coverage" : " nyc npm run test-node && nyc report" ,
74
+ "test" : " npm run lint && npm run prepare-tests && npm run test-node" ,
75
+ "coverage" : " npm run prepare-tests && nyc npm run test-node && nyc report" ,
76
76
"coveralls" : " nyc npm run test-node && nyc report --reporter=text-lcov | coveralls" ,
77
77
"lint" : " eslint modules/*.js test/*.js" ,
78
- "test-node" : " npm run prepare-tests && qunit test/" ,
79
- "test-browser" : " npm run prepare-tests && npm i karma-phantomjs-launcher && karma start" ,
78
+ "test-node" : " qunit test/" ,
79
+ "test-browser" : " npm i karma-phantomjs-launcher && karma start" ,
80
80
"bundle" : " rollup -c && eslint underscore-umd.js && rollup -c rollup.config2.js" ,
81
81
"bundle-treeshake" : " cd test-treeshake && rollup --config" ,
82
82
"prepare-tests" : " npm run bundle && npm run bundle-treeshake" ,
You can’t perform that action at this time.
0 commit comments