-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
99 lines (99 loc) · 3.76 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
{
"name": "mkr",
"description": "Make React Project w/ CRA(CRAco) and Typescript",
"version": "0.4.1",
"license": "MIT",
"author": "Jason Feng <[email protected]>",
"private": true,
"scripts": {
"-------------------------------- LINT ----": "----",
"format": "prettier --write src/**/*.ts{,x}",
"tsc-check": "tsc -v && tsc --noEmit",
"lint": "tsc --noEmit && eslint src/**/*.ts{,x}",
"fix": "yarn lint --fix && yarn format",
"-------------------------------- TOOL ----": "----",
"nuke": "rimraf build && rimraf build && rimraf yarn.lock && rimraf node_modules && yarn",
"clear": "rimraf build",
"versionup": "standard-version -r patch",
"versionup:minor": "standard-version -r minor",
"versionup:major": "standard-version -r major",
"versionup:init": "standard-version --first-release",
"build-icon": "node src/assets/react-icons-ext/_builder/build.js",
"prepare": "husky install",
"eject": "react-scripts eject",
"dev-debug": "yarn dev | cat",
"build-debug": "yarn build | cat",
"vvv": "yarn analyze",
"-------------------------------- DEV ----": "----",
"dev": "GENERATE_SOURCEMAP=false yarn start",
"devs": "GENERATE_SOURCEMAP=false HTTPS=true PORT=4433 SSL_CRT_FILE=scripts/ssl/cert.crt SSL_KEY_FILE=scripts/ssl/cert.key craco start",
"start": "GENERATE_SOURCEMAP=false craco start",
"test": "craco test",
"analyze": "GENERATE_SOURCEMAP=false NODE_ENV=production yarn build --analyze",
"serve": "yarn build && serve -s build",
"-------------------------------- DEBUG ----": "----",
"debug-serve": "craco build --optimizationless && serve -s build",
"debug-build": "craco build --optimizationless",
"-------------------------------- PROD ----": "----",
"build": "GENERATE_SOURCEMAP=false craco build"
},
"dependencies": {
"@loadable/component": "^5.15.2",
"antd": "^4.17.4",
"classnames": "^2.3.1",
"history": "^5.2.0",
"less-loader": "^10.2.0",
"lodash": "^4.17.21",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.2.2",
"react-icons": "^4.3.1",
"react-router": "^6.2.1",
"react-router-dom": "^6.2.1",
"web-vitals": "^2.1.2"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.16.5",
"@commitlint/config-conventional": "^15.0.0",
"@craco/craco": "^6.4.3",
"@qcolate/eslint-config": "^1.4.1",
"@types/classnames": "^2.3.1",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/loadable__component": "^5.13.4",
"@types/lodash": "^4.14.178",
"@types/node": "^17.0.4",
"@types/prettier": "^2.4.2",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"babel-plugin-add-react-displayname": "^0.0.5",
"babel-plugin-import": "^1.13.3",
"babel-plugin-lodash": "^3.3.4",
"commitlint": "^15.0.0",
"craco-alias": "^3.0.1",
"eslint": "^8.5.0",
"eslint-config-airbnb": "^19.0.2",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.3",
"lodash-webpack-plugin": "^0.11.6",
"module-resolver": "^1.0.0",
"next-plugin-antd-less": "^1.7.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"react-scripts": "^5.0.0",
"typescript": "^4.5.4",
"webpack-bundle-analyzer": "^4.5.0"
}
}