-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.06 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
{
"name": "next-electron-builder",
"description": "Secure boilerplate for Electron app based on Vite",
"version": "0.0.1",
"private": true,
"main": "packages/main/dist/index.cjs",
"scripts": {
"dev:renderer": "next dev packages/renderer",
"dev:watch": "node scripts/watch.mjs",
"build": "run-s build:*",
"build:main": "cd ./packages/main && vite build --mode production",
"build:preload": "cd ./packages/preload && vite build --mode production",
"build:renderer": "cross-env NODE_ENV=production next build packages/renderer && next export packages/renderer",
"compile": "cross-env MODE=production NODE_ENV=production npm run build && electron-builder build --config .electron-builder.config.js --dir --config.asar=false",
"test": "run-s test:*",
"test:main": "vitest run -r packages/main --passWithNoTests",
"test:preload": "vitest run -r packages/preload --passWithNoTests",
"test:renderer": "vitest run -r packages/renderer --passWithNoTests",
"test:e2e": "npm run build && vitest run",
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
"typecheck:renderer": "tsc --noEmit -p packages/renderer/tsconfig.json",
"typecheck": "run-s typecheck:*",
"lint": "eslint . --ext js,mjs,cjs,ts,mts,cts",
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\""
},
"browserslist": [
"extends @anansi/browserslist-config"
],
"devDependencies": {
"@anansi/browserslist-config": "^1.4.1",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/lodash": "^4.14.191",
"@types/morgan": "^1.9.4",
"@types/node": "^18.14.6",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/serve-handler": "^6.1.1",
"@typescript-eslint/eslint-plugin": "5.54.0",
"axios": "^1.3.4",
"cross-env": "7.0.3",
"dotenv": "^16.0.3",
"dts-for-context-bridge": "^0.7.1",
"electron": "^23.1.2",
"electron-builder": "23.6.0",
"eslint": "8.35.0",
"eslint-config-next": "^13.2.3",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"happy-dom": "8.9.0",
"next": "^13.2.3",
"npm-run-all": "^4.1.5",
"playwright": "1.31.2",
"prettier": "^2.8.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "4.9.5",
"unplugin-auto-expose": "0.0.4",
"vite": "4.1.4",
"vitest": "0.29.2"
},
"dependencies": {
"body-parser": "^1.20.2",
"chalk": "^4",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"electron-updater": "5.3.0",
"electron-window-state": "^5.0.3",
"express": "^4.18.2",
"get-port": "5.1.1",
"helmet": "^6.0.1",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"serve-handler": "^6.1.5",
"winston": "^3.8.2",
"zod": "^3.21.3"
}
}