package.json
{
"name": "@openhps/sphero",
"version": "0.1.0-alpha.25",
"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"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.js"
},
"unpkg": "dist/web/openhps-sphero.min.js",
"jsdelivr": "dist/web/openhps-sphero.min.js",
"files": [
"lib/web/dist/**/*",
"lib/web/src/**/*",
"lib/server/lib/dist/**/*",
"lib/server/lib/src/**/*",
"dist/**/*",
"src/**/*"
],
"scripts": {
"test": "mocha --config test/.mocharc.json",
"cover": "nyc mocha --config test/.mocharc.json && 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:cjs build:esm build:typedoc && npm run build:webpack",
"build:esm": "tsc --module es2015 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"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",
"build:typedoc": "typedoc --options docs/typedoc.json",
"build:webpack": "npm-run-all --parallel build:webpack:*",
"build:webpack:dev": "webpack --env dev",
"build:webpack:prod": "webpack --env prod",
"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.3.2-alpha.0",
"reflect-metadata": ">=0.1.13",
"@openhps/imu": ">=0.1.0"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@openhps/core": ">=0.3.2-alpha.0",
"@openhps/imu": "0.1.0",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.1",
"@types/web-bluetooth": ">=0.0.11",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-deprecation": "^1.2.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jenkins-mocha": "^8.0.0",
"mocha": "^9.1.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"reflect-metadata": ">=0.1.13",
"shx": "^0.3.3",
"standard-version": "^9.3.2",
"ts-node": "^10.3.0",
"typedoc": "^0.22.6",
"typescript": "^4.4.4",
"webpack": "^5.59.0",
"webpack-cli": "^4.9.1"
},
"nyc": {
"branches": 50,
"lines": 50,
"functions": 50,
"statements": 50,
"include": [
"src"
],
"exclude": [
"test",
"src/**/_internal/Worker*.ts",
"src/**/WorkerService.ts"
],
"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"
}
}
}