-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.55 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 3.55 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "bpsr-meter",
"version": "0.4.92",
"description": "BPSR Meter",
"author": "Denoder",
"type": "module",
"main": "out/main/index.js",
"engines": {
"node": "^22.21.1"
},
"scripts": {
"dev": "electron-vite dev",
"dev:win": "chcp 65001 > nul && electron-vite dev",
"build": "electron-vite build",
"build:all": "npm run build",
"electron:rebuild:win": ".\\node_modules\\.bin\\electron-rebuild.cmd",
"lint:prettier": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
"test": "echo \"Error: no test specified\" && exit 1",
"dist": "npm run build:all && electron-builder --win --x64",
"sync:proto": "node scripts/sync-proto.js"
},
"keywords": [],
"license": "AGPL-3.0",
"dependencies": {
"@bufbuild/protobuf": "^2.10.0",
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"@tailwindcss/vite": "^4.1.15",
"@woheedev/bptimer-api-client": "^0.2.0",
"adm-zip": "^0.5.16",
"bindings": "^1.5.0",
"cap": "^0.2.1",
"cors": "^2.8.5",
"electron-updater": "^6.6.2",
"express": "^5.1.0",
"google-protobuf": "^4.0.0",
"is-admin": "^4.0.0",
"long": "^5.3.2",
"protobufjs": "^7.5.4",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"rollup-plugin-copy": "^3.5.0",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1",
"tailwindcss": "^4.1.15"
},
"devDependencies": {
"@bufbuild/buf": "^1.59.0",
"@bufbuild/protoc-gen-es": "^2.10.0",
"@protobuf-ts/plugin": "^2.11.1",
"@types/adm-zip": "^0.5.7",
"@types/bindings": "^1.5.5",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/google-protobuf": "^3.15.12",
"@types/node": "^22.18.11",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"@yao-pkg/pkg": "^6.6.0",
"babel-plugin-react-compiler": "^1.0.0",
"chokidar": "^4.0.1",
"concurrently": "^9.1.2",
"electron": "^39.0.0",
"electron-builder": "^26.0.12",
"electron-vite": "^4.0.1",
"prettier": "^3.6.2",
"protobufjs-cli": "^1.1.3",
"ts-proto": "^2.8.3",
"typescript": "^5.9.3",
"vite": "^7.1.11"
},
"build": {
"appId": "com.bpsr.meter",
"productName": "BPSR Meter",
"asar": true,
"asarUnpack": [
"**/*.node",
"node_modules/cap/**"
],
"compression": "maximum",
"publish": {
"provider": "github",
"owner": "Denoder",
"repo": "BPSR-Meter"
},
"files": [
"out/**/*",
"translations/**/*",
"icon.ico",
"icon.png",
"!**/*.map",
"!**/*.d.ts",
"!**/README.md",
"!**/LICENSE"
],
"win": {
"icon": "icon.ico",
"target": [
"nsis"
],
"extraResources": [
{
"from": "build/",
"to": "build/",
"filter": [
"**/*"
]
}
]
},
"nsis": {
"deleteAppDataOnUninstall": true,
"oneClick": false
},
"directories": {
"output": "dist_electron"
}
}
}