-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.json
67 lines (67 loc) · 1.74 KB
/
template.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
{
"package": {
"engines": {
"node": ">=10"
},
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0"
},
"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": "^7.0.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"release-it": "^14.2.2"
},
"scripts": {
"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",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": ["yarn lint:fix"],
"{*.{json,md}}": ["prettier --write"]
},
"jest": {
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/node_modules/**",
"!**/coverage/**",
"!src/serviceWorker.ts"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}