-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.3 KB
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
{
"name": "rcp-desktop-app",
"version": "0.2.4",
"productName": "rcpvms",
"description": "A minimal Electron application with TypeScript",
"main": "./out/main/index.js",
"author": "example.com",
"homepage": "https://electron-vite.org",
"scripts": {
"format": "prettier --write .",
"lint": "eslint --cache .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"dev": "electron-vite dev",
"build": "npm run typecheck && electron-vite build",
"build:python": "venv\\Scripts\\pip install pyinstaller --quiet && venv\\Scripts\\python python/build_executable.py",
"postinstall": "electron-builder install-app-deps",
"build:unpack": "npm run build:python && npm run build && electron-builder --dir",
"build:win": "npm run build:python && npm run build && electron-builder --win"
},
"dependencies": {
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"bcryptjs": "^3.0.3",
"better-sqlite3": "^12.5.0",
"docx": "^9.5.3",
"electron-store": "^6.0.1",
"exceljs": "^4.4.0"
},
"devDependencies": {
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
"@electron-toolkit/eslint-config-ts": "^3.1.0",
"@electron-toolkit/tsconfig": "^2.0.0",
"@electron/rebuild": "^4.0.1",
"@types/node": "^22.18.6",
"electron": "^38.1.2",
"electron-builder": "^25.1.8",
"electron-vite": "^4.0.1",
"eslint": "^9.36.0",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"vite": "^7.1.6"
},
"build": {
"appId": "com.example.rcpvms",
"productName": "rcpvms",
"asar": true,
"files": [
"out/**/*",
"node_modules/**/*",
"package.json",
"!**/*.map",
"!**/*.ts",
"!src/**/*",
"!test/**/*",
"!dmd/**/*",
"!python/**/*.py"
],
"extraResources": [
{
"from": "python/dist/",
"to": "python",
"filter": [
"**/*"
]
}
],
"asarUnpack": [
"**/*.node"
],
"win": {
"target": "nsis"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
}
}