-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
113 lines (113 loc) · 2.72 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "game-bau-cua",
"version": "1.9.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react-hooks": "^5.0.3",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"i18next": "^19.8.7",
"i18next-browser-languagedetector": "^6.0.1",
"i18next-http-backend": "^1.1.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.8.6",
"react-scripts": "4.0.2",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"commit": "git-cz",
"lint:fix": "yarn lint --fix",
"lint": "eslint src/**/*.{ts,tsx}",
"release": "release-it",
"type-check": "tsc --noEmit",
"predeploy": "yarn build",
"deploy": "gh-pages -d build",
"extract:translation": "npx i18next-parser"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=10"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@release-it/conventional-changelog": "^2.0.0",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "3.3.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.2.0",
"gh-pages": "^3.1.0",
"husky": "4.3.8",
"i18next-parser": "^3.6.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"release-it": "^14.2.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn lint:fix"
],
"{*.{json,md}}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn type-check && lint-staged"
}
},
"jest": {
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/*.d.ts",
"!**/node_modules/**",
"!**/coverage/**",
"!**/cypress/**",
"!src/index.tsx",
"!src/i18n.ts",
"!src/constants/**",
"!src/routes/index.ts",
"!src/types",
"!src/reportWebVitals.ts"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}