-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
155 lines (155 loc) · 4.16 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "v3-electron-vite",
"version": "4.4.0",
"description": "v3-electron-client",
"author": "nevlf<2863180001@qq.com>",
"main": "dist/index.js",
"engines": {
"node": ">=20.0.0"
},
"env": {
"host": "127.0.0.1",
"port": 13333
},
"scripts": {
"dev": "vite",
"build": "vite build && electron-builder",
"build:dir": "vite build && electron-builder --dir",
"build:linux": "vite build && electron-builder --linux",
"build:macos": "vite build && electron-builder --macos",
"build:win-x64": "vite build && electron-builder --win --x64",
"build:win-x32": "vite build && electron-builder --win --ia32",
"lint:eslint": "eslint --cache --max-warnings 0 \"{script,src,types}/**/*.{vue,js,jsx,ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"{script,src,types}/**/*.{vue,js,jsx,ts,tsx,json,css,less,scss,html,md}\"",
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"prepare": "husky"
},
"build": {
"productName": "v3-electron-vite",
"appId": "com.app.v3-electron-vite",
"directories": {
"output": "release/v${version}-${platform}"
},
"files": [
"dist/**/*",
"static/**/*"
],
"extraResources": [],
"publish": [
{
"provider": "generic",
"url": ""
}
],
"asar": true,
"nsis": {
"oneClick": false,
"perMachine": true,
"shortcutName": "${productName}",
"uninstallDisplayName": "${productName}",
"runAfterFinish": true,
"deleteAppDataOnUninstall": true,
"allowToChangeInstallationDirectory": true
},
"win": {
"icon": "static/icons/logo_256x256.ico",
"artifactName": "${productName} v${version} ${arch}.${ext}",
"requestedExecutionLevel": "requireAdministrator"
},
"dmg": {
"sign": false
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "static/icons/logo_256x256.icns",
"artifactName": "${productName} v${version} MacOS ${arch}.${ext}",
"identity": null,
"hardenedRuntime": true,
"gatekeeperAssess": false
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "static/icons/logo_256x256.png",
"artifactName": "${productName} v${version} ${platform} ${arch}.${ext}",
"desktop": {
"Icon": "/opt/v3-electron-vite/resources/app/static/icons/logo_256x256.png"
}
}
},
"dependencies": {
"@electron/remote": "2.1.2",
"@element-plus/icons-vue": "2.3.1",
"axios": "1.6.8",
"dayjs": "1.11.11",
"electron-log": "5.1.4",
"element-plus": "2.7.3",
"lodash-es": "4.17.21",
"mitt": "3.0.1",
"normalize.css": "8.0.1",
"nprogress": "0.2.0",
"path-browserify": "1.0.1",
"path-to-regexp": "6.2.2",
"pinia": "2.1.7",
"screenfull": "6.0.2",
"vue": "3.4.27",
"vue-router": "4.3.2",
"vxe-table": "4.6.12",
"vxe-table-plugin-element": "4.0.2",
"xe-utils": "3.5.26"
},
"devDependencies": {
"@types/lodash-es": "4.17.12",
"@types/node": "20.12.12",
"@types/nprogress": "0.2.3",
"@types/path-browserify": "1.0.2",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"@vitejs/plugin-vue": "5.0.4",
"@vitejs/plugin-vue-jsx": "3.1.0",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "13.0.0",
"electron": "30.0.4",
"electron-builder": "24.13.3",
"eslint": "8.57.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.26.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"sass": "1.77.1",
"typescript": "5.4.5",
"unocss": "0.60.2",
"vite": "5.2.11",
"vite-electron-plugin": "0.8.3",
"vite-plugin-svg-icons": "2.0.1",
"vite-svg-loader": "5.1.0",
"vue-eslint-parser": "9.4.2",
"vue-tsc": "2.0.17"
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,less,scss,html,md}": [
"prettier --write"
],
"package.json": [
"prettier --write"
]
},
"keywords": [
"vue3",
"vite",
"electron",
"pinia",
"rollup"
],
"license": "MIT"
}