UNPKG

@openhps/sphero

Version:

Open Hybrid Positioning System - Sphero component

134 lines (133 loc) 4.35 kB
{ "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" } } }