-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.78 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.78 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
{
"name": "flighttrace",
"private": true,
"version": "1.1.0",
"description": "Browser-based drone telemetry viewer with auto-detected CRSF/MAVLink/LTM over USB, BLE, or WiFi UDP.",
"license": "MIT",
"type": "module",
"engines": {
"node": ">=20.12.0"
},
"main": "electron/main.cjs",
"scripts": {
"dev": "concurrently -k -n web,udp -c cyan,magenta \"vite\" \"node bridge/udp-bridge.js\"",
"dev:web": "vite",
"dev:bridge": "node bridge/udp-bridge.js",
"build": "vite build",
"preview": "vite preview --host",
"lint": "eslint . --ext .js,.vue --max-warnings=0",
"lint:fix": "eslint . --ext .js,.vue --fix",
"format": "prettier --write \"**/*.{js,vue,css,html,md,json}\"",
"format:check": "prettier --check \"**/*.{js,vue,css,html,md,json}\"",
"electron:dev": "npm run dev:web & wait-on https-get://localhost:5173 && electron .",
"electron:dev:log": "npm run dev:web & wait-on https-get://localhost:5173 && ELECTRON_ENABLE_LOGGING=1 electron . --enable-logging --log-level=0 2>&1 | tee electron-dev.log",
"electron:run:mac": "ELECTRON_ENABLE_LOGGING=1 release/mac-universal/FlightTrace.app/Contents/MacOS/FlightTrace --enable-logging --log-level=0 2>&1 | tee electron-mac.log",
"gen-icon": "node scripts/gen-icon.cjs",
"electron:build:linux": "node scripts/stamp-version.cjs && node scripts/gen-icon.cjs && vite build && electron-builder --linux AppImage --x64",
"electron:build:mac": "node scripts/stamp-version.cjs && node scripts/gen-icon.cjs && vite build && electron-builder --mac dmg --universal && codesign --force --deep --sign - \"release/mac-universal/FlightTrace.app\"",
"electron:build:win": "node scripts/stamp-version.cjs && node scripts/gen-icon.cjs && vite build && electron-builder --win nsis --x64",
"postinstall": "cd bridge && npm install --no-audit --no-fund --silent"
},
"dependencies": {
"ol": "^10.4.0",
"pinia": "^3.0.4",
"vue": "^3.5.13",
"vue-router": "^4.5.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@vitejs/plugin-basic-ssl": "^2.3.0",
"@vitejs/plugin-vue": "^6.0.1",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"electron": "^33.0.0",
"electron-builder": "^25.0.0",
"eslint": "^9.16.0",
"eslint-plugin-vue": "^9.32.0",
"globals": "^15.13.0",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"tailwindcss": "^3.4.17",
"vite": "^6.0.7",
"vite-plugin-pwa": "^0.21.2",
"wait-on": "^9.0.10"
},
"build": {
"appId": "com.flighttrace.app",
"productName": "FlightTrace",
"copyright": "Copyright © 2025",
"icon": "build/icon.png",
"files": [
"dist/**/*",
"electron/**/*"
],
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"category": "Utility",
"maintainer": "flighttrace"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"universal"
]
}
],
"category": "public.app-category.utilities",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"extendInfo": {
"NSBluetoothAlwaysUsageDescription": "FlightTrace uses Bluetooth to connect to your drone's radio link.",
"NSBluetoothPeripheralUsageDescription": "FlightTrace uses Bluetooth to connect to your drone's radio link."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"directories": {
"output": "release"
},
"extraMetadata": {
"main": "electron/main.cjs"
}
}
}