-
-
Notifications
You must be signed in to change notification settings - Fork 257
/
package.json
61 lines (61 loc) · 2.37 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
{
"name": "vite-electron-builder",
"description": "Secure boilerplate for Electron app based on Vite",
"version": "2.0.0",
"private": true,
"type": "module",
"author": {
"email": "kozackunisoft@gmail.com",
"name": "Alex Kozack",
"url": "https://kozack.me"
},
"main": "packages/main/dist/index.js",
"scripts": {
"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.yml --dir --config.asar=false",
"test": "npm run test:main && npm run test:preload && npm run test:renderer && npm run test:e2e",
"test:e2e": "npm run build && vitest run",
"test:main": "vitest run -r packages/main --passWithNoTests",
"test:preload": "vitest run -r packages/preload --passWithNoTests",
"test:renderer": "vitest run -r packages/renderer --passWithNoTests",
"watch": "node scripts/watch.js",
"lint": "eslint .",
"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.js",
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\""
},
"devDependencies": {
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.10.0",
"@types/node": "20.16.5",
"@vitejs/plugin-vue": "5.1.3",
"@vue/test-utils": "2.4.6",
"cross-env": "7.0.3",
"electron": "32.1.0",
"electron-builder": "25.0.5",
"eslint": "9.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-vue": "9.28.0",
"globals": "15.9.0",
"happy-dom": "15.7.4",
"nano-staged": "0.8.0",
"playwright": "1.47.0",
"simple-git-hooks": "2.11.1",
"typescript": "5.6.2",
"typescript-eslint": "8.5.0",
"unplugin-auto-expose": "0.3.0",
"vite": "5.4.4",
"vitest": "2.0.5",
"vue": "3.5.4",
"vue-tsc": "2.1.6"
},
"dependencies": {
"electron-updater": "6.2.1"
}
}