forked from wooline/medux-react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (131 loc) · 3.47 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "medux-react-admin",
"version": "1.0.0",
"description": "",
"scripts": {
"type": "tsc",
"typeSrc": "tsc -P ./src",
"eslint": "eslint --cache .",
"eslintSrc": "eslint --cache ./src",
"stylelint": "stylelint \"./src/**/*.less\"",
"checkCode": "yarn type & yarn typeSrc & yarn eslint & yarn eslintSrc & yarn stylelint",
"start": "yarn checkCode && cross-env NODE_ENV=development SITE=local node build/start.js",
"commit": "git-cz",
"build-local": "npm run types-check && cross-env NODE_ENV=production SITE=local node build/build.js",
"build-prod": "npm run types-check && cross-env NODE_ENV=production SITE=prod node build/build.js",
"analyzer": "cross-env NODE_ENV=production SITE=analyzer node build/build.js",
"push": "scp -r dist/prod/* [email protected]:/var/www/medux-react-admin",
"eslintConfig": "eslint --print-config /Users/zy/work/test/medux-react-admin/src/common/resource.ts > eslintConfig.txt"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.(ts|tsx|js|jsx)": "eslint",
"*.less": "stylelint"
},
"author": {
"name": "wooline",
"email": "[email protected]"
},
"license": "MIT",
"private": true,
"engines": {
"node": ">=9.0.0"
},
"browserslist": [
"chrome >= 70"
],
"baseConf": {
"version": "1.0.0",
"siteName": "@medux",
"clientPublicPath": "/",
"server": "http://localhost:7445",
"mock": true,
"proxy": {
"/api/**": {
"target": "http://192.168.0.232:8000",
"pathRewrite": {
"^/api": ""
},
"xfwd": true,
"secure": false,
"changeOrigin": true,
"timeout": 3000,
"proxyTimeout": 3000
}
}
},
"vendors": {
"base": [
"@babel",
"react",
"react-dom",
"@medux",
"lodash",
"process",
"warning",
"axios",
"moment",
"dayjs",
"performance-now",
"shallowequal"
],
"ui": [
"antd",
"@ant-design",
"async-validator",
"resize-observer-polyfill",
"add-dom-event-listener",
"dom-align",
"react-lifecycles-compat",
"scroll-into-view-if-needed",
"compute-scroll-into-view",
"raf",
"mini-store",
"rc-[\\w-]+"
]
},
"dependencies": {
"@medux/react-web-router": "~1.1.1-alpha.6",
"antd": "~4.2.0",
"axios": "~0.19.2",
"lodash": "~4.17.15",
"path-to-regexp": "~6.1.0",
"react": "~16.13.0",
"react-dom": "~16.13.0",
"react-redux": "~7.2.0",
"fast-deep-equal": "~3.1.3"
},
"devDependencies": {
"@medux/dev-pkg": "~1.0.4-alpha.2",
"@medux/dev-utils": "~1.0.8",
"@medux/eslint-plugin-recommended": "~1.0.4",
"@medux/stylelint-config-recommended": "~1.0.0",
"@pmmmwh/react-refresh-webpack-plugin": "~0.3.0",
"@types/lodash": "~4.14.149",
"@types/react": "~16.9.23",
"@types/react-dom": "~16.9.5",
"@types/react-redux": "~7.1.9",
"@types/history": "~4.7.7",
"antd-dayjs-webpack-plugin": "~1.0.0",
"babel-plugin-import": "~1.13.0",
"commitizen": "~4.1.2",
"cz-conventional-changelog": "~3.2.0",
"less": "~3.10.1",
"less-loader": "~5.0.0",
"postcss-less": "~3.1.4",
"raw-loader": "~4.0.0",
"react-markdown": "^4.3.1",
"react-refresh": "~0.8.1",
"sass-resources-loader": "~2.0.1",
"typescript": "~3.8.3"
}
}