forked from cawa-93/vite-electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.54 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
{
"name": "vite-electron-builder",
"description": "Secure boilerplate for Electron app based on Vite",
"version": "1.0.2",
"private": true,
"author": {
"email": "[email protected]",
"name": "Alex Kozack",
"url": "https://kozack.me"
},
"type": "module",
"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": "vite build",
"compile": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.cjs --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 --passWithNoTests --config src/vitest.config.cjs",
"watch": "node scripts/watch.mjs",
"lint": "eslint . --ext js,mjs,cjs,ts,mts,cts,svelte",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
"typecheck:renderer": "tsc --noEmit",
"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,svelte,json}\""
},
"devDependencies": {
"@playwright/test": "^1.31.1",
"@ptkdev/sveltekit-electron-adapter": "^0.3.0",
"@sveltejs/adapter-static": "^2.0.1",
"@sveltejs/kit": "^1.5.0",
"@types/node": "18.14.1",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "^5.45.0",
"cross-env": "7.0.3",
"electron": "23.1.1",
"electron-builder": "23.6.0",
"eslint": "8.35.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"happy-dom": "8.9.0",
"nano-staged": "0.8.0",
"playwright": "1.31.1",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"simple-git-hooks": "2.8.1",
"svelte": "^3.54.0",
"svelte-check": "^3.0.1",
"tslib": "^2.4.1",
"typescript": "4.9.5",
"unplugin-auto-expose": "0.0.4",
"vite": "4.1.4",
"vitest": "0.29.1"
},
"dependencies": {
"electron-updater": "5.3.0"
}
}