forked from commaai/flash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.31 KB
/
package.json
File metadata and controls
129 lines (129 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
121
122
123
124
125
126
127
128
129
{
"name": "@commaai/flash",
"version": "0.1.0",
"description": "flash.comma.ai - The official flash tool for comma devices",
"private": true,
"type": "module",
"main": "electron/main.js",
"homepage": "./",
"author": {
"name": "comma.ai",
"email": "support@comma.ai",
"url": "https://comma.ai"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"start": "vite preview",
"test": "vitest",
"electron": "npm run electron-npm",
"electron-npm": "cross-env NODE_ENV=development electron .",
"electron-dev": "concurrently \"bun run dev\" \"wait-on http://localhost:5173 && npm run electron-npm\"",
"electron-build": "bun run build && npm run electron-builder",
"electron-build-win": "bun run build && electron-builder --win",
"electron-build-mac": "bun run build && electron-builder --mac",
"electron-build-linux": "bun run build && electron-builder --linux",
"electron-build-all": "bun run build && electron-builder --mac --win --linux",
"dist": "bun run build && electron-builder --publish=never"
},
"engines": {
"node": ">=20.11.0"
},
"dependencies": {
"@commaai/qdl": "git+https://github.com/commaai/qdl.js.git#9ef437bed19a70fe54f44421ae5fc9a057b4b563",
"@fontsource-variable/inter": "^5.2.5",
"@fontsource-variable/jetbrains-mono": "^5.2.5",
"electron-updater": "^6.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"xz-decompress": "^0.2.2"
},
"devDependencies": {
"electron": "^37.2.4",
"@tailwindcss/typography": "^0.5.16",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "10.4.21",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"electron-builder": "^26.0.12",
"electron-icon-builder": "^2.0.1",
"electron-squirrel-startup": "^1.0.1",
"jsdom": "^26.0.0",
"postcss": "^8.5.3",
"tailwindcss": "^3.4.17",
"vite": "^6.2.6",
"vite-svg-loader": "^5.1.0",
"vitest": "^3.1.1",
"wait-on": "^8.0.3"
},
"trustedDependencies": [
"@commaai/qdl",
"esbuild",
"usb"
],
"build": {
"appId": "ai.comma.flash",
"productName": "flash.comma.ai",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"node_modules/**/*",
"package.json"
],
"extraResources": [
{
"from": "src/assets",
"to": "assets"
}
],
"mac": {
"category": "public.app-category.utilities",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "src/app/icon_xl.png"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "src/app/icon.ico"
},
"linux": {
"target": [
{
"target": "tar.gz",
"arch": [
"x64"
]
}
],
"category": "Utility",
"icon": "src/app/icon_large.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
}
}