-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 2.61 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
101
102
103
104
105
{
"name": "robot-api",
"version": "1.0.0",
"license": "MIT",
"repository": "tue-robotics/robot-api",
"author": {
"name": "Ramon Wijnands",
"email": "[email protected]",
"url": "https://github.com/Rayman"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"lib/",
"dist/"
],
"scripts": {
"lint": "xo",
"clean": "rimraf dist/",
"deps": "npm run deps:missing && npm run deps:extra",
"deps:missing": "dependency-check . --missing",
"deps:extra": "dependency-check . --extra --no-dev",
"prebuild": "npm run clean && npm run lint",
"build": "npm run build_cjs && npm run build_esm",
"postbuild": "npm run deps",
"build_cjs": "cross-env BABEL_ENV=cjs babel lib/ --out-dir dist/cjs/ --source-maps",
"build_esm": "cross-env BABEL_ENV=esm babel lib/ --out-dir dist/esm/ --source-maps",
"test": "cross-env BABEL_ENV=cjs mocha --require @babel/register test/**/*.test.js",
"coverage": "cross-env NODE_ENV=test nyc mocha test/**/*.test.js",
"version": "npm run build",
"patch": "npm version patch",
"minor": "npm version minor",
"major": "npm version major",
"postversion": "git push && git push --tags"
},
"nyc": {
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-classes": "^7.24.1",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.7",
"babel-plugin-istanbul": "^7.0.0",
"chai": "^4.5.0",
"cross-env": "^7.0.0",
"dependency-check": "^4.1.0",
"mocha": "^11.0.0",
"nyc": "^17.1.0",
"rimraf": "^6.0.0",
"sinon": "^19.0.1",
"sinon-chai": "^3.7.0",
"xo": "^0.60.0"
},
"dependencies": {
"eventemitter2": "^6.4.5",
"lodash": "^4.17.0",
"roslib": "^1.4.1"
},
"xo": {
"parser": "@babel/eslint-parser",
"space": true,
"envs": [
"mocha"
],
"ignores": [
"dist/**",
"lib/graveyard/*"
],
"rules": {
"capitalized-comments": "off",
"no-unused-expressions": [
2,
{
"allowShortCircuit": true
}
],
"new-cap": [
"error",
{
"capIsNewExceptions": [
"ActionClient",
"Service",
"Topic"
]
}
]
},
"overrides": [
{
"files": "test/*.js",
"rules": {
"import/extensions": "off"
}
}
]
}
}