This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
89 lines (89 loc) · 2.28 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
{
"name": "referral",
"version": "0.1.0",
"private": true,
"dependencies": {
"@craco/craco": "^6.1.1",
"@material-ui/core": "^4.11.3",
"@testing-library/jest-dom": "^5.11.4",
"@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": "^16.9.53",
"@types/react-dom": "^16.9.8",
"antd": "^4.9.4",
"axios": "^0.21.1",
"clearbit": "^1.3.5",
"craco": "0.0.3",
"craco-less": "^1.17.1",
"enquire-js": "^0.2.1",
"env-cmd": "^10.1.0",
"html-react-parser": "^1.2.8",
"is-empty": "^1.2.0",
"jwt-decode": "^3.1.2",
"moment": "^2.29.1",
"quill": "^1.3.7",
"rc-queue-anim": "^1.8.5",
"rc-scroll-anim": "^2.7.6",
"rc-tween-one": "^2.7.3",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-quill": "^1.3.5",
"react-redux": "^7.2.3",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"typescript": "^4.0.3",
"web-vitals": "^0.2.4"
},
"scripts": {
"start:local": "env-cmd -f .env.local craco start",
"start:dev": "env-cmd -f .env.dev craco start",
"build:local": "env-cmd -f .env.local craco build",
"build:dev": "env-cmd -f .env.dev craco build",
"test": "craco test",
"eject": "react-scripts eject",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"api": "npx ts-codegen && prettier --write src/apis/*.ts",
"pre-commit": "tsc --noEmit && lint-staged",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --ext .tsx --ext .ts src/ --fix"
],
"*.{ts,tsx,js,json,html,yml,css,md}": [
"prettier --write *.{ts,tsx,js,json,html,yml,css,md}"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@ts-tool/ts-codegen-cli": "^3.1.5",
"husky": "^7.0.0",
"lint-staged": "^11.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}