-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
133 lines (133 loc) · 4.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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@openhps/sphero",
"version": "0.1.10",
"description": "Open Hybrid Positioning System - Sphero component",
"author": "Maxim Van de Wynckel",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/OpenHPS/openhps-sphero.git"
},
"bugs": {
"url": "https://github.com/OpenHPS/openhps-sphero/issues"
},
"homepage": "https://openhps.org",
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"unpkg": "./dist/web/openhps-sphero.min.js",
"jsdelivr": "./dist/web/openhps-sphero.min.js",
"module": "./dist/esm5/index.js",
"es2015": "./dist/esm/index.js",
"files": [
"lib/web/dist/**/*",
"lib/web/src/**/*",
"lib/server/lib/dist/**/*",
"lib/server/lib/src/**/*",
"dist/**/*",
"src/**/*",
"LICENSE"
],
"scripts": {
"test": "mocha --config test/.mocharc.json",
"cover": "nyc mocha --config test/.mocharc.json && nyc report --reporter=cobertura",
"cover:ci": "nyc mocha --config test/.mocharc.json --reporter mocha-junit-reporter && nyc report --reporter=cobertura",
"lint": "eslint src/**",
"clean": "shx rm -rf ./dist && shx rm -rf ./docs/out",
"build": "npm run clean && npm run build:lib && npm-run-all --parallel build:ts:* && npm run build:webpack",
"build:quick": "npm-run-all --parallel build:ts:* && npm run build:webpack",
"build:typedoc": "typedoc --options docs/typedoc.json",
"build:ts:cjs": "tsc --build ./tsconfig/tsconfig.bundle.cjs.json",
"build:ts:esm": "tsc --build ./tsconfig/tsconfig.bundle.esm.json",
"build:ts:esm5": "tsc --build ./tsconfig/tsconfig.bundle.esm5.json",
"build:ts:types": "tsc --build ./tsconfig/tsconfig.bundle.types.json",
"build:webpack": "npm-run-all --parallel build:webpack:*",
"build:webpack:prod": "webpack --env prod --",
"build:webpack:dev": "webpack --env dev --",
"build:lib": "npm-run-all --parallel build:lib:*",
"build:lib:web": "cd ./lib/web && npm install && tsc",
"build:lib:server": "cd ./lib/server/lib && npm install && tsc",
"publish:development": "npm run bump:beta && npm publish --tag dev",
"publish:beta": "npm run bump:beta && npm publish --tag beta",
"publish:release": "npm run bump:beta && npm publish --tag latest",
"bump:development": "standard-version --prerelease alpha -m 'chore(alpha): %s' --skip.changelog",
"bump:beta": "standard-version --prerelease beta -m 'chore(beta): %s' --skip.changelog",
"bump:release": "standard-version -m 'chore(release): %s' --skip.changelog"
},
"keywords": [
"openhps",
"sphero"
],
"peerDependencies": {
"@openhps/core": ">=0.4.7",
"reflect-metadata": ">=0.1.13"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@openhps/core": ">=0.4.7",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.1",
"@types/web-bluetooth": ">=0.0.16",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"chai": "^4.3.7",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-deprecation": "^1.3.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jenkins-mocha": "^9.0.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"reflect-metadata": ">=0.1.13",
"shx": "^0.3.4",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"typedoc": "^0.23.25",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"nyc": {
"branches": 50,
"lines": 50,
"functions": 50,
"statements": 50,
"include": [
"src"
],
"exclude": [
"test"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text-summary"
],
"cache": true,
"all": true,
"check-coverage": true,
"report-dir": "./coverage"
},
"engines": {
"node": ">=12.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}