-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.15 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
{
"private": true,
"name": "nitro-electron-app",
"description": "nitro backend packed by electron",
"version": "1.1.1",
"author": "wanlitao <wanlitao_3055601@outlook.com>",
"homepage": "https://github.com/wanlitao/nitro-start",
"main": "dist/electron/main.js",
"scripts": {
"build": "tsc -p src/electron && pnpm copy-icons && nitro build && electron-builder",
"build:linux": "tsc -p src/electron && pnpm copy-icons && nitro build && electron-builder --linux",
"build:deb:arm64": "tsc -p src/electron && pnpm copy-icons && nitro build && electron-builder --linux deb --arm64",
"dev": "tsc -p src/electron && pnpm copy-icons && pnpm rebuild better-sqlite3 && nitro dev",
"prepare": "nitro prepare",
"preview": "node --env-file=.env dist/backend/server/index.mjs",
"copy-icons": "copyfiles -u 1 src/electron/icons/* dist"
},
"devDependencies": {
"copyfiles": "^2.4.1",
"electron": "^31.3.1",
"electron-builder": "^24.13.3",
"nitropack": "latest"
},
"dependencies": {
"better-sqlite3": "^11.2.1",
"db0": "^0.1.4",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.33.0",
"electron-updater": "^6.3.1"
}
}