-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 1.82 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
{
"name": "code-generator",
"private": true,
"version": "1.0.0",
"type": "commonjs",
"main": "main.js",
"scripts": {
"start": "npm run build && npm run electron:start",
"dev": "concurrently -k \"vite\" \"npm run electron:dev\"",
"web": "vite --open",
"build": "vite build",
"iconfont": "node ./src/utils/iconfont.cjs",
"electron:dev": "cross-env IS_DEV=true electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"electron:build": "cross-env IS_DEV=false yarn build && yarn dist"
},
"config": {
"forge": {
"arch": "x64"
}
},
"build": {
"appId": "com.azimiao.test",
"asar": true,
"directories": {
"output": "build"
},
"win": {
"target": [
{
"target": "nsis"
}
],
"asarUnpack": [
"src/**",
"README.md"
]
},
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"files": [
"src/template/**/*",
"dist/**/*",
"main.js"
]
},
"dependencies": {
"electron-squirrel-startup": "^1.0.0",
"react": "^18.2.0",
"@electron/remote": "^2.0.9",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@types/node": "^18.14.1",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-react": "^3.1.0",
"antd": "^5.2.2",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"electron": "^23.1.1",
"electron-builder": "^23.6.0",
"nanoid": "^4.0.1",
"sass": "^1.58.3",
"vite": "^4.1.0",
"webpack-iconfont-plugin-nodejs": "^1.0.29"
}
}