-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
40 lines (40 loc) · 1.25 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
{
"name": "@rev-robotics/can-bridge",
"version": "3.5.0",
"author": "REV Robotics",
"description": "Access CAN Data from a USB device in Node.js",
"license": "MIT",
"main": "dist/binding.js",
"types": "dist/binding.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/REVrobotics/node-can-bridge.git"
},
"dependencies": {
"node-addon-api": "^8.2.0",
"pkg-prebuilds": "^1.0.0"
},
"devDependencies": {
"@types/adm-zip": "^0.5.0",
"@types/node": "^16.18.18",
"adm-zip": "^0.5.10",
"axios": "^1.3.6",
"cmake-js": "^7.3.0",
"typescript": "^5.0.2"
},
"scripts": {
"install": "pkg-prebuilds-verify binding-options.cjs || npm run build",
"build": "node scripts/download-CanBridge.mjs && cmake-js compile && tsc",
"prepublishOnly": "npm run build && pkg-prebuilds-copy --baseDir build/Release --source node_canbridge.node --name node_canbridge --napi_version=9",
"pretest": "npm run build",
"test": "echo running test && node --napi-modules test/test_binding.js"
},
"engines": {
"node": ">=20.3.0"
},
"binary": {
"napi_versions": [
9
]
}
}