-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.31 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 3.31 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": "labelit",
"version": "1.0.1",
"description": "Fully local desktop image annotation tool",
"main": "./out/main/index.js",
"author": "Advanced Forestry Systems Lab",
"homepage": ".",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"build:win": "node scripts/setup-codesign-cache.cjs && npm run build && electron-builder --win",
"generate-icon": "node scripts/generate-icon.js",
"native:fix": "node scripts/ensure-native-deps.js",
"postinstall": "electron-builder install-app-deps && npm run native:fix"
},
"dependencies": {
"better-sqlite3": "^11.9.1",
"electron-store": "^8.2.0",
"immer": "^11.1.4",
"konva": "^10.2.0",
"lucide-react": "^0.577.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-konva": "^19.2.3",
"react-router-dom": "^7.13.1",
"react-window": "^1.8.11",
"sharp": "^0.33.5",
"tailwindcss": "^4.2.1",
"use-image": "^1.1.4",
"uuid": "^9.0.1",
"xmlbuilder2": "^3.1.1",
"zustand": "^5.0.11"
},
"devDependencies": {
"@electron-toolkit/eslint-config-prettier": "^2.0.0",
"@electron-toolkit/eslint-config-ts": "^2.0.0",
"@electron-toolkit/preload": "^3.0.1",
"@electron-toolkit/utils": "^3.0.0",
"@electron/rebuild": "^4.0.3",
"@types/better-sqlite3": "^7.6.12",
"@types/node": "^22.10.7",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react-window": "^1.8.8",
"@types/uuid": "^9.0.8",
"@vitejs/plugin-react": "^4.7.0",
"electron": "^33.3.1",
"electron-builder": "^25.1.8",
"electron-vite": "^3.1.0",
"typescript": "^5.9.3",
"vite": "^6.4.1"
},
"build": {
"appId": "com.labelingtool.app",
"productName": "LabelIt",
"copyright": "Copyright © 2025 Advanced Forestry Systems Lab",
"directories": {
"output": "dist",
"buildResources": "resources"
},
"files": [
"out/**/*",
"!**/*.map",
"!**/*.d.ts"
],
"extraResources": [
{
"from": "python",
"to": "python",
"filter": [
"**/*",
"!**/.venv/**",
"!**/models/**",
"!**/__pycache__/**",
"!**/*.pyc",
"!**/*.pyo",
"!**/*.pt",
"!**/*.onnx",
"!**/*.bin"
]
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "resources/icon.ico",
"artifactName": "${productName}-${version}-Setup.${ext}",
"requestedExecutionLevel": "asInvoker",
"verifyUpdateCodeSignature": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"installerIcon": "resources/icon.ico",
"uninstallerIcon": "resources/icon.ico",
"installerHeaderIcon": "resources/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "LabelIt",
"runAfterFinish": true,
"deleteAppDataOnUninstall": false,
"license": "resources/LICENSE.txt",
"language": "1033"
},
"compression": "maximum",
"asar": true,
"asarUnpack": [
"node_modules/better-sqlite3/**",
"node_modules/sharp/**"
]
}
}