-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
205 lines (205 loc) · 5.96 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
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
{
"name": "advantagescope",
"productName": "AdvantageScope",
"version": "4.0.0-beta-4",
"description": "Robot telemetry application for FRC",
"author": {
"name": "FRC 6328",
"email": "software@littletonrobotics.org",
"url": "https://littletonrobotics.org"
},
"license": "MIT",
"main": "bundles/main.js",
"scripts": {
"start": "electron bundles/main.js",
"compile": "rollup -c --configMain && rollup -c --configLargeRenderers && rollup -c --configSmallRenderers && rollup -c --configWorkers",
"build": "npm run compile && npm run wasm:compile && npm run docs:build-embed && electron-builder build",
"fast-build": "npm run compile && npm run wasm:compile && npm run docs:build-embed && electron-builder build --dir",
"watch": "rollup -c -w",
"download-owlet": "rollup -c --configRunOwletDownload && node runOwletDownload.js",
"format": "prettier --write .",
"check-format": "prettier --check .",
"test-ytdl": "node testYtdl.mjs",
"wasm:compile": "node wasmCompile.mjs",
"docs:start": "cd docsSite && npm run start && cd ..",
"docs:build": "cd docsSite && npm run build && cd ..",
"docs:build-embed": "cd docsSite && npm run build-embed && cd ..",
"docs:clear": "cd docsSite && npm run clear && cd ..",
"docs:serve": "cd docsSite && npm run serve && cd ..",
"postinstall": "cd docsSite && npm install && cd .. && node getLicenses.mjs && node tesseractLangDownload.mjs && node ffmpegDownload.mjs && npm run download-owlet"
},
"devDependencies": {
"@electron/notarize": "^2.1.0",
"@mcap/core": "^1.3.0",
"@msgpack/msgpack": "^3.0.0-beta2",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "12.1.1",
"@types/chart.js": "^2.9.38",
"@types/color-convert": "^2.0.3",
"@types/compare-versions": "^3.3.0",
"@types/download": "^8.0.2",
"@types/heatmap.js": "2.0.38",
"@types/jsonfile": "^6.1.2",
"@types/pngjs": "^6.0.5",
"@types/ssh2": "^1.11.13",
"@types/three": "^0.168.0",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
"camera-controls": "^2.9.0",
"chart.js": "^4.4.0",
"color-convert": "^2.0.1",
"compare-versions": "^6.1.1",
"electron": "^32.0.2",
"electron-builder": "^24.6.4",
"fuse.js": "^7.0.0",
"gunzip-file": "^0.1.1",
"heatmap.js": "https://github.com/jwbonner/heatmap.js.git",
"mathjs": "11.3.0",
"node-fetch": "^3.3.2",
"prettier": "3.0.3",
"prettier-plugin-organize-imports": "^4.0.0",
"protobufjs": "^7.2.5",
"rollup": "^3.29.2",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-re": "^1.0.7",
"simple-statistics": "^7.8.7",
"three": "^0.168.0",
"tslib": "^2.6.2",
"type-fest": "^4.26.1",
"typescript": "5.6.3"
},
"dependencies": {
"@distube/ytdl-core": "^4.14.4",
"@types/emscripten": "^1.39.13",
"check-disk-space": "^3.4.0",
"download": "^8.0.0",
"electron-fetch": "^1.9.1",
"jsonfile": "^6.1.0",
"pngjs": "^7.0.0",
"ssh2": "^1.14.0",
"tesseract.js": "https://github.com/jwbonner/tesseract.js.git"
},
"prettier": {
"printWidth": 120,
"trailingComma": "none",
"plugins": [
"prettier-plugin-organize-imports"
]
},
"build": {
"appId": "org.littletonrobotics.advantagescope",
"copyright": "Copyright © 2021-2024 FRC 6328",
"npmRebuild": false,
"publish": [],
"afterSign": "notarize.js",
"files": [
"www/**/*",
"bundles/*",
"icons/**/*",
"!icons/**/*.iconset",
"bundledAssets/**/*",
"docsSite/build/**/*",
{
"filter": [
"owlet/${os}-${arch}/*"
]
},
"!**/.*"
],
"extraResources": [
{
"from": "ffmpeg",
"filter": [
"ffmpeg-${os}-${arch}*"
]
},
"LICENSE",
"ThirdPartyLicenses.txt",
"eng.traineddata.gz"
],
"fileAssociations": [
{
"ext": "wpilog",
"name": "WPILib robot log",
"description": "WPILib robot log",
"mimeType": "application/x-wpilog",
"role": "Viewer",
"icon": "icons/app/wpilog-icon"
},
{
"ext": "rlog",
"name": "Robot log",
"description": "Robot log",
"mimeType": "application/x-rlog",
"role": "Viewer",
"icon": "icons/app/rlog-icon"
},
{
"ext": "dslog",
"name": "FRC Driver Station log",
"description": "FRC Driver Station log",
"mimeType": "application/x-dslog",
"role": "Viewer",
"icon": "icons/app/dslog-icon"
},
{
"ext": "dsevents",
"name": "FRC Driver Station events",
"description": "FRC Driver Station events",
"mimeType": "application/x-dsevents",
"role": "Viewer",
"icon": "icons/app/dsevents-icon"
},
{
"ext": "hoot",
"name": "Hoot robot log",
"description": "Hoot robot log",
"mimeType": "application/x-hoot",
"role": "Viewer",
"icon": "icons/app/hoot-icon"
}
],
"mac": {
"target": "dmg",
"icon": "icons/app/app-icon.icns",
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"extendInfo": {
"NSUpdateSecurityPolicy": {
"AllowPackages": [
"58SET3NSX7"
],
"AllowProcesses": {
"58SET3NSX7": [
"WPILibInstaller"
]
}
}
},
"notarize": false
},
"linux": {
"target": [
"AppImage",
"snap",
"flatpak",
"deb",
"rpm",
"pacman"
],
"icon": "icons/app/app-icons-linux",
"category": "Utility"
},
"flatpak": {
"runtimeVersion": "22.08",
"baseVersion": "22.08"
},
"win": {
"target": "nsis",
"icon": "icons/app/app-icon.ico"
}
}
}