-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.54 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": "electron-admin-antd-react",
"version": "1.0.0",
"private": true,
"description": "Electron React Ant Design Umi Admin template",
"scripts": {
"start": "umi dev",
"start:no-mock": "cross-env MOCK=none umi dev",
"build": "umi build",
"postinstall": "umi generate tmp && electron-builder install-app-deps",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"svgo": "svgo -f src/assets/iconsvg --config=src/assets/iconsvg/svgo.yml",
"postuninstall": "electron-builder install-app-deps",
"electron:dev": "umi dev electron",
"electron:build:win": "umi build electron --win",
"electron:build:mac": "umi build electron --mac",
"electron:build:linux": "umi build electron --linux",
"rebuild-deps": "electron-builder install-app-deps",
"electron:init": "umi electron init"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@ant-design/pro-layout": "^5.0.19",
"@ckeditor/ckeditor5-build-decoupled-document": "^23.1.0",
"@ckeditor/ckeditor5-react": "^3.0.2",
"@toast-ui/react-editor": "^2.5.3",
"@umijs/preset-react": "1.x",
"@umijs/test": "~3.3.11",
"antd": "^4.16.11",
"classnames": "^2.3.1",
"echarts": "^4.9.0",
"lint-staged": "^10.5.4",
"localforage": "^1.9.0",
"lodash.debounce": "^4.0.8",
"prettier": "^1.19.1",
"react": "^16.14.0",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "^16.14.0",
"umi": "~3.3.11",
"yorkie": "^2.0.0"
},
"devDependencies": {
"@types/echarts": "^4.9.10",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^12.0.12",
"@types/vfile-message": "^2.0.0",
"@types/webpack-env": "^1.16.2",
"@umijs/fabric": "^2.6.4",
"cross-env": "^7.0.3",
"electron": "^9.4.4",
"electron-builder": "23.0.3",
"electron-webpack": "^2.8.2",
"electron-webpack-ts": "^4.0.1",
"express": "^4.17.1",
"less-vars-to-js": "^1.3.0",
"mockjs": "^1.1.0",
"svg-sprite-loader": "^5.2.1",
"svgo": "^1.3.2",
"svgo-loader": "^2.2.2",
"umi-plugin-electron-builder": "2.1.14"
},
"keywords": [
"electron",
"react",
"typescript",
"admin",
"template",
"antd",
"Ant Design",
"umi"
],
"electronWebpack": {
"renderer": null
},
"main": "main.js"
}