-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 1.79 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
{
"name": "kucun_sys",
"version": "1.0.0",
"main": "app-entry.js",
"author": {
"name": "xtwan",
"email": "wanxiaotian888@gmail.com"
},
"description": "库存管理应用",
"private": true,
"scripts": {
"start:app": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://localhost:8000 && cross-env NODE_ENV=development electron app-entry.js\"",
"start": "umi dev",
"build": "umi build",
"build:mac-app": "electron-builder --mac --x64",
"build:win-app": "electron-builder --win --x64",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"build": {
"appId": "com.xtwan.app",
"mac": {
"target": [
"dmg",
"zip"
]
},
"win": {
"target": [
"nsis",
"zip"
]
},
"files": [
"build/**/*",
"app-entry.js"
]
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/pro-layout": "^6.5.0",
"exceljs": "^4.3.0",
"react": "17.x",
"react-dom": "17.x",
"umi": "^3.5.20"
},
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.5.20",
"concurrently": "^6.4.0",
"cross-env": "^7.0.3",
"electron": "^16.0.1",
"electron-builder": "^22.14.5",
"express": "^4.17.1",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"wait-on": "^6.0.0",
"windicss-webpack-plugin": "^1.5.8",
"yorkie": "^2.0.0"
}
}