forked from cawa-93/vite-electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.27 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
{
"name": "vite-electron-builder",
"description": "Secure boilerplate for Electron app based on Vite",
"private": true,
"engines": {
"node": ">=v16.13",
"npm": ">=8.1"
},
"author": {
"email": "kozackunisoft@gmail.com",
"name": "Alex Kozack",
"url": "https://kozack.me"
},
"main": "packages/main/dist/index.cjs",
"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.config.js --dir --config.asar=false",
"test": "npm run test:main && npm run test:preload && npm run test:renderer && npm run test:e2e",
"test:e2e": "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 . --ext js,ts,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 npx --no-install electron ./scripts/update-electron-vendors.js "
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "5.28.0",
"@vitejs/plugin-vue": "3.0.0-alpha.2",
"@vue/test-utils": "2.0.1",
"cross-env": "7.0.3",
"electron": "19.0.4",
"electron-builder": "23.0.3",
"electron-devtools-installer": "3.2.0",
"eslint": "8.18.0",
"eslint-plugin-vue": "9.1.1",
"happy-dom": "5.3.1",
"nano-staged": "0.8.0",
"playwright": "1.22.2",
"simple-git-hooks": "2.8.0",
"typescript": "4.7.4",
"unplugin-auto-expose": "0.0.1",
"vite": "3.0.0-alpha.13",
"vitest": "0.15.1",
"vue-tsc": "0.38.1"
},
"dependencies": {
"electron-updater": "5.0.1",
"vue": "3.2.37"
}
}