File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1010 "plugins" : [
1111 [" babel-plugin-root-import" , {
1212 "rootPathSuffix" : " src"
13- }],
14- " istanbul"
15- ]
13+ }]
14+ ],
15+ "env" : {
16+ "test" : {
17+ "plugins" : [
18+ " istanbul"
19+ ]
20+ }
21+ }
1622}
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "bundle" : " webpack --mode=production --progress --colors" ,
88 "dev" : " webpack --mode=development --progress --colors --watch" ,
9- "test" : " nyc babel-node node_modules/.bin/jasmine && eslint . && npm run report-coverage" ,
9+ "test" : " nyc babel-node --env-name test node_modules/.bin/jasmine && eslint . && npm run report-coverage" ,
1010 "report-coverage" : " nyc report --reporter=lcov > coverage.lcov" ,
1111 "prepublish" : " npm run bundle" ,
1212 "lint:fix" : " eslint . --fix"
You can’t perform that action at this time.
0 commit comments