File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 4242 "build-gh-pages" : " npm run build-docs" ,
4343 "ci:test" : " npm run lint-config && npm run lint && npm run cover" ,
4444 "commit-msg" : " commitlint --edit" ,
45- "cover" : " c8 --all --src src --reporter=lcov npm test" ,
45+ "cover" : " NODE_ENV=cover c8 --all --src src --reporter=lcov npm test" ,
4646 "debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
4747 "dev" : " npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast" ,
4848 "install-hooks" : " husky install" ,
146146 ]
147147 ]
148148 },
149+ "cover" : {
150+ "sourceMaps" : " inline" ,
151+ "presets" : [
152+ [
153+ " @babel/preset-env" ,
154+ {
155+ "targets" : " current node"
156+ }
157+ ]
158+ ],
159+ "plugins" : [
160+ [
161+ " transform-remove-console" ,
162+ {
163+ "exclude" : [
164+ " log" ,
165+ " error" ,
166+ " warn"
167+ ]
168+ }
169+ ]
170+ ]
171+ },
149172 "development" : {
150173 "presets" : [
151174 " babel-preset-power-assert"
You can’t perform that action at this time.
0 commit comments