forked from RobotWebTools/rclnodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.92 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
{
"name": "rclnodejs",
"version": "0.25.0",
"description": "ROS2.0 JavaScript client with Node.js",
"main": "index.js",
"types": "types/index.d.ts",
"keywords": [
"rclnodejs",
"ros2",
"ros",
"rcl",
"robotics",
"typescript"
],
"scripts": {
"build": "node-gyp -j 16 build",
"build:dev": "node-gyp -j 16 build --debug",
"rebuild": "npm run clean && node-gyp -j 16 rebuild",
"rebuild:dev": "npm run clean && node-gyp -j 16 rebuild --debug",
"generate-messages": "node scripts/generate_messages.js",
"clean": "node-gyp clean && rimraf ./generated",
"install": "npm run rebuild",
"postinstall": "npm run generate-messages",
"docs": "cd docs && make",
"test": "node --expose-gc ./scripts/run_test.js && npm run dtslint",
"dtslint": "node scripts/generate_tsd.js",
"lint": "eslint --max-warnings=0 --ext js,ts index.js types scripts lib example rosidl_gen rosidl_parser test benchmark/rclnodejs && node ./scripts/cpplint.js",
"format": "clang-format -i -style=file ./src/*.cpp ./src/*.hpp && prettier --write \"{lib,rosidl_gen,rostsd_gen,rosidl_parser,types,example,test,scripts,benchmark}/**/*.{js,md,ts}\" ./*.{js,md,ts}"
},
"bin": {
"generate-ros-messages": "./scripts/generate_messages.js"
},
"authors": [
"Minggang Wang <[email protected]>",
"Kenny Yuan <[email protected]>",
"Wanming Lin <[email protected]>",
"Zhong Qiu <[email protected]>"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/RobotWebTools/rclnodejs.git"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"babel-eslint": "^10.1.0",
"clang-format": "^1.8.0",
"commander": "^11.0.0",
"deep-equal": "^1.1.1",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jsdoc": "^4.0.2",
"lint-staged": "^14.0.1",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"sinon": "^15.2.0",
"tree-kill": "^1.2.2",
"typescript": "^4.9.3"
},
"dependencies": {
"@rclnodejs/ref-array-di": "^1.2.2",
"@rclnodejs/ref-napi": "^4.0.0",
"@rclnodejs/ref-struct-di": "^1.1.1",
"array.prototype.flat": "^1.3.2",
"bindings": "^1.5.0",
"compare-versions": "^6.1.0",
"debug": "^4.3.4",
"dot": "^1.1.3",
"dtslint": "^4.2.1",
"fs-extra": "^11.1.1",
"int64-napi": "^1.0.2",
"is-close": "^1.3.3",
"mkdirp": "^3.0.1",
"mz": "^2.7.0",
"nan": "^2.17.0",
"uuid": "^9.0.0",
"walk": "^2.3.15"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,md}": [
"prettier --write"
],
"*.{hpp,cpp}": [
"clang-format -i -style=file"
]
},
"engines": {
"node": ">= 16.13.0"
}
}