forked from stephendade/Rpanion-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
188 lines (188 loc) · 6.32 KB
/
Copy pathpackage.json
File metadata and controls
188 lines (188 loc) · 6.32 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "rpanion-server",
"version": "0.12.0",
"description": "A node.js based server for companion computers used in Mavlink-based vehicles (ie Ardupilot, PX4). It presents a web-based interface (running on the companion computer), where system settings such as network, telemetry and video streaming can be configured from.",
"private": true,
"secure": false,
"license": "GPL-3.0",
"author": "Stephen Dade <stephen_dade@hotmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/stephendade/Rpanion-server.git"
},
"bugs": {
"url": "https://github.com/stephendade/Rpanion-server/issues"
},
"homepage": "https://www.docs.rpanion.com/software/rpanion-server",
"keywords": [
"mavlink",
"ardupilot",
"px4",
"companion-computer",
"drone",
"uav",
"gstreamer",
"rtsp",
"telemetry"
],
"engines": {
"node": ">=18.0.0",
"npm": ">=10.0.0"
},
"dependencies": {
"@fontsource/chakra-petch": "^5.2.7",
"@fontsource/ibm-plex-mono": "^5.2.7",
"@fontsource/ibm-plex-sans": "^5.2.8",
"app-root-path": "3.1.0",
"bcryptjs": "3.0.3",
"bootstrap": "5.3.8",
"compression": "1.8.1",
"express": "5.2.1",
"express-fileupload": "1.5.2",
"express-rate-limit": "8.5.1",
"express-validator": "7.3.2",
"jsonwebtoken": "9.0.3",
"node-mavlink": "2.3.0",
"npm": "11.14.1",
"ntrip-client": "github:codeceptsDE/ntrip-client#feat-tls-support",
"pino-http": "^11.0.0",
"react": "19.2.6",
"react-bootstrap": "2.10.10",
"react-dom": "19.2.6",
"react-router-dom": "7.15.0",
"rsync": "0.6.1",
"serialport": "13.0.0",
"settings-store": "1.4.1",
"socket.io": "4.8.3",
"socket.io-client": "4.8.3",
"startbootstrap-simple-sidebar": "6.0.6",
"systeminformation": "5.31.6"
},
"bin": {
"coveralls": "./bin/coveralls.js"
},
"scripts": {
"start": "vite",
"build": "vite build",
"testfront": "NODE_ENV=development vitest --run ./src",
"testback": "NODE_ENV=development mocha",
"mocha": "NODE_ENV=development _mocha",
"typecheck": "tsc -p tsconfig.json --noEmit",
"build:server": "tsc -p tsconfig.json",
"test-cov": "nyc npm run mocha && nyc report --reporter=text-lcov",
"covback": "nyc --check-coverage --reporter=text --reporter=text-summary npm run mocha",
"covfront": "NODE_ENV=development vitest --run --coverage ./src",
"test-coveralls": "nyc npm run mocha && nyc report --reporter=text-lcov | coveralls",
"lint": "eslint .",
"e2e": "playwright test",
"e2e:ui": "playwright test --ui",
"e2e:report": "playwright show-report",
"e2e:install": "playwright install chromium",
"server": "node-env-run server --exec nodemon | pino-colada",
"serviceDev": "npm run build && NODE_ENV=development node -r ts-node/register ./server/index.ts",
"dev": "NODE_ENV=development run-p server start",
"preview": "vite preview",
"package": "./deploy/build-deb.sh"
},
"node_deb": {
"entrypoints": {
"daemon": "./server/index.js"
},
"init": "systemd",
"dependencies": "nodejs (>= 20.0.0), gstreamer1.0-plugins-good (>= 1.20.0), libgstrtspserver-1.0-0 (>= 1.20.0), gir1.2-gst-rtsp-server-1.0 (>= 1.20.0), gstreamer1.0-plugins-base-apps (>= 1.20.0), gstreamer1.0-plugins-ugly (>= 1.20.0), gstreamer1.0-plugins-bad (>= 1.20.0), network-manager (>= 1.30.0), python3 (>= 3.9.0), python3-dev (>= 3.9.0), python3-gst-1.0 (>= 1.20.0), python3-pip (>= 20.0.0), dnsmasq (>= 2.85), python3-lxml (>= 4.8.0), python3-numpy (>= 1.21.0), wireless-tools (>= 29), gpsbabel (>= 1.5.0), zip (>= 3.0), iw (>= 5.16), gstreamer1.0-x (>= 1.20.0), ppp (>= 2.4.7), python3-opencv (>= 4.5.0), python3-requests (>= 2.25.0), python3-setuptools (>= 57.0.0), python3-wheel (>= 0.36.0), libqmi-utils (>= 1.30.0), udhcpc (>= 1.30.0), fontconfig (>= 2.13.0)",
"user": "rpanion",
"group": "rpanion",
"install_strategy": "copy",
"maintainer": "Stephen Dade (stephen_dade@hotmail.com)",
"architecture": "${DEB_HOST_ARCH}",
"description": "A node.js based server for companion computers used in Mavlink-based vehicles (ie Ardupilot, PX4). It presents a web-based interface (running on the companion computer), where system settings such as network, telemetry and video streaming can be configured from.",
"templates": {
"systemd_service": "./debian/systemd.service",
"preinst": "./debian/preinst",
"postinst": "./debian/postinst",
"postrm": "./debian/postrm",
"prerm": "./debian/prerm"
}
},
"proxy": "http://localhost:3001",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@eslint/js": "^9.39.1",
"@playwright/test": "^1.60.0",
"@types/app-root-path": "^1.2.8",
"@types/compression": "^1.8.1",
"@types/express": "^5.0.6",
"@types/express-fileupload": "^1.5.1",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.9.3",
"@types/rsync": "^0.4.36",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-v8": "^4.1.8",
"coveralls-next": "^6.0.1",
"eslint": "^9.39.1",
"eslint-plugin-mocha": "^11.2.0",
"eslint-plugin-react": "^7.37.5",
"globals": "^17.6.0",
"happy-dom": "^20.9.0",
"mocha": "^11.7.5",
"mocha-lcov-reporter": "^1.3.0",
"node-deb": "^0.10.7",
"node-env-run": "^4.0.2",
"nodemon": "^3.1.14",
"npm-run-all": "^4.1.5",
"nyc": "^18.0.0",
"pino-colada": "^2.2.2",
"sinon": "^22.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.61.0",
"vite": "6.4.2",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^4.1.0"
},
"nodemonConfig": {
"exec": "node -r ts-node/register server/index.ts",
"watch": [
"server",
"mavlink"
],
"ext": "js,ts,json"
},
"nyc": {
"all": true,
"extension": [
".js",
".ts"
],
"include": [
"server/**/*.js",
"server/**/*.ts",
"mavlink/mavManager.js",
"mavlink/mavManager.ts"
],
"exclude": [
"server/**/*.test.js",
"server/**/*.test.ts",
"**/*.d.ts"
],
"reporter": [
"lcov",
"text-summary"
],
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
},
"overrides": {
"autoprefixer": "10.4.5",
"vite": {
"rollup": "npm:@rollup/wasm-node"
}
}
}