-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
Copy pathpackage.json
133 lines (133 loc) · 3.64 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
133
{
"name": "antd-admin",
"version": "5.3.0",
"license": "MIT",
"description": "An admin dashboard application demo built upon Ant Design and UmiJS",
"dependencies": {
"@ant-design/icons": "^4.8.3",
"@lingui/react": "^3.17.2",
"antd": "^5.16.1",
"axios": "^0.21.4",
"classnames": "^2.5.1",
"d3-shape": "^2.1.0",
"dayjs": "^1.11.10",
"draft-js": "^0.11.7",
"draftjs-to-html": "^0.9.1",
"draftjs-to-markdown": "^0.6.0",
"dva-model-extend": "^0.1.2",
"echarts": "^5.5.0",
"echarts-for-react": "^3.0.2",
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"enquire-js": "^0.2.1",
"highcharts-exporting": "^0.1.7",
"highcharts-more": "^0.1.7",
"json-format": "^1.0.1",
"lodash": "^4.17.21",
"make-plural": "^7.3.0",
"md5": "^2.3.0",
"nprogress": "^0.2.0",
"path-to-regexp": "^6.2.2",
"prop-types": "^15.8.1",
"qs": "^6.12.0",
"react-adsense": "^0.1.0",
"react-countup": "^4.4.0",
"react-draft-wysiwyg": "^1.15.0",
"react-helmet": "^6.1.0",
"react-highcharts": "^16.1.0",
"react-perfect-scrollbar": "^1.5.8",
"recharts": "^2.12.4",
"store": "^2.0.12"
},
"devDependencies": {
"@ant-design/compatible": "^5.1.2",
"@babel/preset-react": "^7.24.1",
"@lingui/cli": "^3.17.2",
"@lingui/core": "^4.8.0",
"@lingui/macro": "^3.17.2",
"@umijs/preset-react": "^1.8.32",
"babel-eslint": "^10.1.0",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-import": "^1.13.8",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.10.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^4.3.8",
"less-vars-to-js": "^1.3.0",
"lint-staged": "^10.5.4",
"mockjs": "^1.1.0",
"module": "^1.2.5",
"prettier": "^2.8.8",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^21.0.0",
"typescript": "^4.9.5",
"umi": "^3.5.41"
},
"engines": {
"node": ">= 10.0.0"
},
"lint-staged": {
"src/**/*.js": [
"eslint --ext .js --fix",
"npm run prettier",
"git add"
],
"**/*.less": [
"stylelint --syntax less",
"npm run prettier",
"git add"
]
},
"lingui": {
"fallbackLocales": {
"default": "en"
},
"sourceLocale": "en",
"locales": [
"en",
"zh",
"pt-br"
],
"catalogs": [
{
"path": "src/locales/{locale}/messages",
"include": [
"src/pages",
"src/layouts",
"src/components",
"src/layouts"
]
}
],
"format": "minimal",
"extractBabelOptions": {
"presets": [
"@umijs/babel-preset-umi",
"@babel/preset-react"
]
}
},
"scripts": {
"analyze": "cross-env ANALYZE=1 umi build",
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider umi build",
"check:model": "umi dva list model",
"lint:js": "eslint --ext .js src",
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
"start": "cross-env NODE_OPTIONS=--openssl-legacy-provider umi dev",
"test": "cross-env BABELRC=none umi test",
"prettier": "prettier --write 'src/**/*.{js,less}'",
"precommit": "lint-staged",
"add-locale": "lingui add-locale",
"extract": "lingui extract",
"trans": "lingui extract --clean && node ./scripts/translate.js",
"doc": "docsify serve docs"
}
}