-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.8 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
{
"name": "electron-vite-vue",
"private": true,
"version": "1.0.0",
"main": "src/main/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"electron": "wait-on tcp:3000 && cross-env IS_DEV=true electron .",
"electron:dev": "concurrently -k \"cross-env BROWSER=none yarn dev\" \"yarn electron\"",
"electron:builder": "electron-builder",
"build:for:electron": "cross-env ELECTRON=true vite build",
"electron:build": "yarn build:for:electron && yarn electron:builder",
"icons": "electron-icon-builder --input=./src/renderer/assets/images/logo.png --output=build --flatten"
},
"author": "Eling",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Eling486/electron-vite-vue.git"
},
"dependencies": {
"axios": "^0.27.2",
"sass": "^1.52.3",
"scss": "^0.2.4",
"vue": "^3.2.25",
"vuex": "^4.0.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^2.3.3",
"concurrently": "^7.2.1",
"cross-env": "^7.0.3",
"electron": "^19.0.4",
"electron-builder": "^23.0.3",
"electron-icon-builder": "^2.0.1",
"vite": "^2.9.9",
"vue-router": "^4.0.15",
"wait-on": "^6.0.1"
},
"build": {
"appId": "com.example.app",
"productName": "Example",
"copyright": "Copyright © 2022 ${author}",
"mac": {
"category": "public.app-category.utilities",
"icon": "build/icons/icon.icns"
},
"win": {
"icon": "build/icons/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"asar": true,
"files": [
"core/**/*",
"src/main/**/*",
"src/preload/**/*",
"package.json"
],
"directories": {
"buildResources": "core/assets",
"output": "dist"
}
}
}