-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
84 lines (84 loc) · 2.06 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
{
"name": "vite-electron",
"version": "0.0.1",
"main": "dist/main/build.js",
"author": "MangoTsing",
"license": "MIT",
"scripts": {
"dev": "npm run dev:all",
"dev:all": "concurrently -n=vue,ele -c=green,blue \"npm run dev:vue\" \"npm run dev:ele\"",
"dev:vue": "vite",
"dev:ele": "node script/build --env=development --watch",
"build:vue": "vite build",
"build:ele": "node script/build --env=production",
"build": "npm run build:vue && npm run build:ele && electron-builder"
},
"build": {
"appId": "xxx@gmail.com",
"electronDownload": {
"mirror": "https://npm.taobao.org/mirrors/electron/"
},
"files": [
"!node_modules",
"dist/main/**",
"dist/render/**"
],
"mac": {
"artifactName": "${productName}_setup_${version}.${ext}",
"target": [
"dmg"
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}_setup_${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
}
},
"dependencies": {
"electron-is-dev": "^1.2.0",
"electron-store": "^6.0.0",
"element-plus": "latest",
"vue": "^3.0.5",
"vue-router": "^4.0.0-beta.13"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"chalk": "^4.1.0",
"concurrently": "^5.3.0",
"dotenv": "^8.2.0",
"electron": "^11.0.0",
"electron-builder": "^22.8.0",
"electron-connect": "^0.6.3",
"minimist": "^1.2.5",
"ora": "^5.0.0",
"rollup-plugin-esbuild": "^3.0.2",
"sass": "^1.26.10",
"typescript": "^3.9.7",
"vite": "latest",
"@vitejs/plugin-vue": "^1.0.4",
"@vue/compiler-sfc": "^3.0.5",
"wait-on": "^5.2.1"
},
"keywords": [
"vite",
"electron",
"vue3",
"rollup"
]
}