-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.87 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
{
"name": "key-streaks",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "4.11.3",
"@material-ui/icons": "4.11.2",
"@material-ui/styles": "4.11.3",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/user-event": "12.8.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-scripts": "4.0.3",
"tslib": "2.2.0",
"web-vitals": "1.1.1"
},
"devDependencies": {
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"@types/jest": "26.0.21",
"@types/node": "15.0.2",
"@types/react": "17.0.5",
"@types/react-dom": "17.0.3",
"@typescript-eslint/eslint-plugin": "4.22.1",
"@typescript-eslint/parser": "4.22.1",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "3.3.0",
"dependency-cruiser": "9.23.3",
"eslint": "7.22.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-compat": "3.9.0",
"eslint-plugin-jest": "24.3.2",
"eslint-plugin-jest-formatting": "2.0.1",
"eslint-plugin-json-format": "2.0.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-react-redux": "3.3.2",
"eslint-plugin-security": "1.4.0",
"eslint-plugin-sonarjs": "0.6.0",
"eslint-plugin-unicorn": "28.0.2",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"prettier": "2.2.1",
"standard-version": "9.1.1",
"typescript": "4.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --watchAll=false",
"test:watch": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint \"src/**/*.{ts,json}\"",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"cruise-deps": "depcruise \"src/**/*.{ts,tsx}\"",
"cm": "git-cz",
"release": "standard-version",
"typecheck": "tsc"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "CURRENT_BRANCH=$(git branch --show-current); if [ $CURRENT_BRANCH = 'master' ]; then echo 'Error: you are not allowed to push to the master branch'; (exit 1) ; fi"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run format",
"npm run lint",
"npm run typecheck",
"npm run cruise-deps"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}