-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
88 lines (88 loc) · 2.22 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
{
"name": "vue-cesium-electron-vite-starter",
"version": "0.0.1",
"main": "dist/main/index.js",
"author": "zouyaoji <[email protected]>",
"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 -r ts-node/register script/build-main --env=development --watch",
"build:vue": "vite build",
"build:ele": "node -r ts-node/register script/build-main --env=production",
"build": "rimraf dist && npm run build:vue && npm run build:ele && electron-builder"
},
"build": {
"appId": "[email protected]",
"asar": false,
"directories": {
"output": "release/${version}"
},
"files": [
"!node_modules",
"dist/**"
],
"extraResources": {
"from": "src/preload",
"to": "app/src/preload"
},
"mac": {
"artifactName": "${productName}_${version}.${ext}",
"target": [
"dmg"
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}_${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
}
},
"dependencies": {
"vue": "^3.1.2",
"vue-cesium": "^3.0.1-beta.8"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-typescript": "^8.2.1",
"@types/minimist": "^1.2.1",
"@vitejs/plugin-vue": "^1.2.3",
"@vue/compiler-sfc": "^3.1.2",
"acorn": "^8.2.4",
"chalk": "^4.1.0",
"concurrently": "^6.0.0",
"electron": "13.1.4",
"electron-builder": "^22.10.5",
"electron-store": "^8.0.0",
"minimist": "^1.2.5",
"ora": "^5.4.0",
"rimraf": "^3.0.2",
"rollup-plugin-esbuild": "^4.5.0",
"ts-node": "^9.1.1",
"typescript": "^4.3.4",
"vite": "^2.3.8",
"vitejs-plugin-electron": "^0.1.3"
},
"keywords": [
"vite",
"electron",
"vue3",
"rollup"
]
}