We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c93432 commit 3f56226Copy full SHA for 3f56226
package.json
@@ -31,12 +31,13 @@
31
"start": "react-scripts start",
32
"build": "react-scripts build",
33
"test": "react-scripts test",
34
- "lint": "eslint . --cache --report-unused-disable-directives"
+ "lint": "eslint . --cache --report-unused-disable-directives",
35
+ "test:coverage": "react-scripts test --coverage && open coverage/lcov-report/index.html"
36
},
37
"husky": {
38
"hooks": {
39
"pre-commit": "pretty-quick --staged --pattern \"src/**/*.*(js|jsx)\"",
- "pre-push": "yarn run lint"
40
+ "pre-push": "yarn run lint && react-scripts test"
41
}
42
43
"browserslist": {
0 commit comments