-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"homepage": "https://deinsoftware.github.io/cronos/",
"name": "cronos",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "12.8.3",
"date-to-words": "1.0.2",
"number-to-words": "1.2.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.3",
"speak-tts": "2.0.8",
"time-in-words": "1.1.0",
"web-vitals": "1.1.2"
},
"scripts": {
"build": "react-scripts build",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"eject": "react-scripts eject",
"lint:l": "eslint .",
"lint:f": "eslint . --fix",
"prettier:c": "prettier . --check",
"prettier:w": "prettier . --write",
"prepare": "husky install",
"start": "react-scripts start",
"test": "react-scripts test",
"test:c": "react-scripts test --coverage --watchAll=false --ci",
"test:cw": "react-scripts test --coverage --watchAll",
"test:r": "open ./coverage/lcov-report/index.html",
"test:tb": "jest-coverage-thresholds-bumper"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"coverageReporters": [
"json",
"json-summary",
"lcov",
"clover",
"text",
"text-summary"
],
"coverageThreshold": {
"global": {
"statements": 89.85,
"branches": 84.11,
"functions": 82.43,
"lines": 89.77
}
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/react-hooks": "7.0.0",
"eslint": "7.26.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-import": "2.23.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-react": "7.23.2",
"gh-pages": "3.1.0",
"husky": "6.0.0",
"jest-coverage-thresholds-bumper": "0.0.5",
"jest-matchmedia-mock": "1.1.0",
"lint-staged": "11.0.0",
"prettier": "2.3.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"npm run test:c",
"npm run test:tb",
"git add package.json"
],
"*.{js,jsx,ts,tsx,css,md}": "prettier --write"
}
}