-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.02 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.02 KB
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
{
"name": "robot-api",
"version": "1.0.0",
"license": "MIT",
"repository": "tue-robotics/robot-api",
"author": {
"name": "Ramon Wijnands",
"email": "rayman747@hotmail.com",
"url": "https://github.com/Rayman"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
"lib/",
"dist/"
],
"scripts": {
"lint": "xo --config xo.config.js",
"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.28.0",
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-classes": "^7.28.0",
"@babel/preset-env": "^7.29.0",
"@babel/register": "^7.28.3",
"babel-plugin-istanbul": "^8.0.0",
"chai": "^5.3.1",
"cross-env": "^10.1.0",
"dependency-check": "^4.1.0",
"globals": "^17.5.0",
"mocha": "^11.7.0",
"nyc": "^18.0.0",
"rimraf": "^6.1.2",
"sinon": "^21.1.0",
"sinon-chai": "^4.0.0",
"xo": "^1.2.1"
},
"dependencies": {
"eventemitter2": "^6.4.5",
"lodash": "^4.18.1",
"roslib": "^1.4.1"
}
}