-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.99 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
{
"name": "electron-typescript-vite-vue-starter",
"description": "",
"version": "1.0.1",
"private": true,
"main": "packages/main/dist/index.cjs",
"scripts": {
"dev": "npm run dev:vite",
"dev:vite": "vite --config packages/renderer/vite.config.js --port 3333 --open",
"dev:electron": "npm run build && npm run watch:electron",
"build": "npm run build:main && npm run build:preload && npm run build:renderer",
"build:main": "cd ./packages/main && vite build",
"build:preload": "cd ./packages/preload && vite build",
"build:renderer": "cd ./packages/renderer && vite build",
"compile": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.js --dir --config.asar=false",
"compile:windows": "cross-env MODE=production npm run build && electron-builder build -w --config .electron-builder.config.js --dir --config.asar=false",
"watch": "node scripts/watch-electron.mjs",
"lint": "eslint . --ext js,mjs,cjs,ts,mts,cts,vue",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
"typecheck:renderer": "vue-tsc --noEmit -p packages/renderer/tsconfig.json",
"typecheck": "npm run typecheck:main && npm run typecheck:preload && npm run typecheck:renderer",
"postinstall": "cross-env ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.mjs",
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\""
},
"devDependencies": {
"@types/node": "^18.17.19",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@vitejs/plugin-vue": "4.3.4",
"cross-env": "7.0.3",
"electron": "26.2.2",
"electron-builder": "24.6.4",
"eslint": "8.50.0",
"eslint-plugin-vue": "9.17.0",
"typescript": "5.2.2",
"unplugin-auto-expose": "0.0.5",
"vite": "4.4.9",
"vue": "3.3.4",
"vue-tsc": "1.8.14"
},
"dependencies": {
"electron-updater": "6.1.4",
"mica-electron": "^1.5.1"
}
}