-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
80 lines (80 loc) · 2.55 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
{
"name": "electronvueproject",
"private": true,
"version": "0.0.0",
"main": "output/build/main.js",
"author": "ZN",
"scripts": {
"dev": "vite",
"build": "npm-run-all build:vue build:tsc build:all",
"preview": "cross-env NODE_ENV=production electron ./output/build/main.js",
"start": "kill-port 3920 && concurrently -k \"vite\" \"wait-on tcp:3920 && npm-run-all watch\"",
"watch": "tsc-watch --noClear -p tsconfig.e.json --onSuccess \"npm-run-all start:ect\"",
"start:ect": "cross-env NODE_ENV=development electron ./output/build/main.js",
"build:vue": "vue-tsc --noEmit && vite build",
"build:tsc": "tsc -p tsconfig.e.json",
"build:all": "electron-builder --mac --windows",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --windows"
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.10",
"@vueuse/electron": "^9.9.0",
"element-plus": "^2.2.27",
"mitt": "^3.0.0",
"pinia": "^2.0.28",
"sass": "^1.58.0",
"tree-node-cli": "^1.6.0",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@types/vue-router": "^2.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.13",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"devtron": "^1.4.0",
"electron": "^22.0.0",
"electron-builder": "^23.6.0",
"kill-port": "^2.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.20",
"tailwindcss": "^3.2.4",
"tsc-watch": "^6.0.0",
"typescript": "^4.9.3",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.0.0",
"vue-tsc": "^1.0.11",
"wait-on": "^7.0.1"
},
"build": {
"appId": "com.lx000-website.electron-vue3-tpm-test",
"productName": "ZNNote",
"copyright": "Copyright © 2021 <your-name>",
"directories": {
"output": "output/app"
},
"win": {
"icon": "public/cccs.icns",
"target": [
"nsis",
"zip",
"7z"
]
},
"files": [
"!node_modules",
"output/dist/**/*",
"output/build/**/*"
],
"mac": {
"category": "public.app-category.utilities.test",
"icon": "public/cccs.icns"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}