-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.03 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.03 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
{
"name": "modular",
"version": "0.9.0",
"description": "",
"main": "app/main.js",
"scripts": {
"start": "electron .",
"dist": "electron-builder",
"test:ui": "playwright test",
"test:protocol": "node tests/unit/twist_protocol.test.js",
"test:protocol:preview": "node tests/unit/twist_protocol_preview.js",
"rebuild:native": "npx electron-rebuild -f -w socketcan",
"scan:can": "ELECTRON_RUN_AS_NODE=1 electron app/js/scan.js",
"ts:query": "ELECTRON_RUN_AS_NODE=1 electron app/js/query_nodes.js",
"ts:test": "ELECTRON_RUN_AS_NODE=1 electron app/js/test_ts_bin.js",
"ts:query:node": "npm rebuild socketcan --silent && node app/js/query_nodes.js",
"generate:dashboards": "node app/dashboard/scripts/generate_dashboards.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@robloche/chartjs-plugin-streaming": "^3.1.0",
"chartjs-adapter-luxon": "^1.3.1",
"cross-spawn": "^7.0.6",
"eve": "^0.5.4",
"eve.js": "^0.8.4",
"justgage": "^1.7.0",
"luxon": "^3.6.1",
"raphael": "^2.3.0",
"serialport": "^13.0.0",
"cbor": "^9.0.2"
},
"optionalDependencies": {
"socketcan": "^2.9.0"
},
"_comment": "socketcan is optional on Windows; required for Linux CAN support",
"_comment_build_files": "Release packaging includes runtime + docs/tools under app/; tests/dev artifacts are excluded via build.files below.",
"devDependencies": {
"electron": "^36.4.0",
"electron-builder": "^26.0.12",
"playwright": "^1.50.0"
},
"build": {
"appId": "com.modular.app",
"productName": "Modular",
"asar": false,
"icon": "app/assets/icon.png",
"files": [
"app/**",
"package.json",
"package-lock.json",
"!tests/**",
"!dev/**",
"!test-results/**",
"!thingset/**"
],
"linux": {
"target": "AppImage",
"icon": "app/assets/icon.png"
},
"win": {
"target": "nsis",
"icon": "app/assets/icon.ico"
},
"mac": {
"icon": "app/assets/icon.icns"
}
}
}