File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 10
10
"build:min" : " cross-env NODE_ENV=production webpack -o dist/html-react-parser.min.js" ,
11
11
"build:unmin" : " cross-env NODE_ENV=development webpack -o dist/html-react-parser.js" ,
12
12
"clean" : " rimraf dist" ,
13
- "coveralls" : " cat coverage/ lcov.info | coveralls" ,
13
+ "coveralls" : " nyc report --reporter=text- lcov | coveralls" ,
14
14
"lint" : " eslint --ignore-path .gitignore ." ,
15
15
"lint:fix" : " npm run lint -- --fix" ,
16
16
"dtslint" : " dtslint ." ,
17
17
"prepublishOnly" : " npm run build" ,
18
18
"release" : " standard-version --no-verify" ,
19
19
"test" : " mocha" ,
20
- "test:coverage" : " istanbul cover _mocha -- -R spec \" test/**/*\" "
20
+ "test:coverage" : " nyc npm test" ,
21
+ "test:coverage:report" : " nyc report --reporter=html"
21
22
},
22
23
"repository" : {
23
24
"type" : " git" ,
50
51
"eslint" : " ^5.10.0" ,
51
52
"eslint-plugin-prettier" : " ^3.0.0" ,
52
53
"husky" : " ^2.4.0" ,
53
- "istanbul" : " ^0.4.5" ,
54
54
"lint-staged" : " ^8.1.0" ,
55
55
"mocha" : " ^6.1.4" ,
56
+ "nyc" : " ^14.1.1" ,
56
57
"prettier" : " ^1.15.3" ,
57
58
"react" : " ^16" ,
58
59
"react-dom" : " ^16" ,
You can’t perform that action at this time.
0 commit comments