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
| {
| "name": "jh2028-new-service",
| "version": "1.0.0",
| "description": "JH2028 20260511 TCP gateway service",
| "license": "ISC",
| "type": "commonjs",
| "main": "app.js",
| "scripts": {
| "start": "node app.js",
| "start:simulator": "node tcp-simulator.js --host 127.0.0.1 --port 9000 --repeat 0",
| "start:simulator:once": "node tcp-simulator.js --host 127.0.0.1 --port 9000 --repeat 1",
| "print:simulator": "node tcp-simulator.js --mode both --print-only",
| "test": "mocha \"test/**/*.test.js\"",
| "verify": "node verify-protocol.js",
| "build": "node scripts/build-executables.js",
| "build:win": "node scripts/build-executables.js --target win-x64",
| "build:linux": "node scripts/build-executables.js --target linux-x64"
| },
| "dependencies": {
| "aliyun-iot-device-sdk": "^1.0.1",
| "mqtt": "^5.15.1"
| },
| "devDependencies": {
| "@vercel/ncc": "^0.38.4",
| "pkg": "^5.8.1",
| "mocha": "^11.7.5"
| },
| "pkg": {
| "assets": [
| "config.json",
| "alModel.json"
| ]
| }
| }
|
|