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
| {
| "name": "jb-communication",
| "version": "1.0.0",
| "scripts": {
| "test": "node test_parse.js",
| "parse:raw": "node parse_raw.js",
| "hex:bin": "node hex_to_bin.js",
| "sim:server": "node sim_server.js",
| "gateway": "node gateway.js",
| "build:ncc": "ncc build gateway.js -o dist --minify --no-source-map-register",
| "build:win": "pkg dist/index.js --target node18-win-x64 --output build/gateway-win.exe --compress GZip",
| "build:linux": "pkg dist/index.js --target node18-linux-x64 --output build/gateway-linux --compress GZip",
| "build": "npm run build:ncc && npm run build:win && npm run build:linux"
| },
| "pkg": {
| "targets": [
| "node18-win-x64",
| "node18-linux-x64"
| ],
| "assets": [],
| "scripts": []
| },
| "dependencies": {
| "axios": "^1.8.2",
| "crc": "^4.3.2",
| "iconv-lite": "^0.7.2",
| "mqtt": "^5.10.4",
| "qs": "^6.13.1",
| "serialport": "^13.0.0",
| "winston": "^3.19.0",
| "winston-daily-rotate-file": "^5.0.0",
| "xml2js": "^0.6.2"
| },
| "devDependencies": {
| "@vercel/ncc": "^0.38.4",
| "pkg": "^5.8.1"
| }
| }
|
|