@openhps/core
Version:
Open Hybrid Positioning System - Core component
197 lines (196 loc) • 6.24 kB
JSON
{
"name": "@openhps/core",
"version": "1.0.5",
"description": "Open Hybrid Positioning System - Core component",
"author": "Maxim Van de Wynckel",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/OpenHPS/openhps-core.git"
},
"bugs": {
"url": "https://github.com/OpenHPS/openhps-core/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-core.min.js",
"jsdelivr": "./dist/web/openhps-core.min.js",
"browser": {
"typescript": false,
"microtime": false
},
"module": "./dist/esm5/index.js",
"es2015": "./dist/esm/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm5/index.js",
"types": "./dist/types/index.d.ts"
},
"./internal": {
"require": "./dist/cjs/index.internal.js",
"import": "./dist/esm5/index.internal.js",
"types": "./dist/types/index.internal.d.ts"
},
"./worker": {
"require": "./dist/cjs/worker/WorkerRunner.js",
"import": "./dist/esm5/worker/WorkerRunner.js",
"types": "./dist/types/worker/WorkerRunner.d.ts"
},
"./lite": {
"require": "./dist/cjs/index.lite.js",
"import": "./dist/esm5/index.lite.js",
"types": "./dist/types/index.lite.d.ts"
}
},
"files": [
"dist/**/*",
"src/**/*",
"LICENSE",
"internal.js",
"internal.ts",
"internal.d.ts"
],
"size-limit": [
{
"path": "./dist/web/openhps-core.min.js",
"limit": "76 KB"
},
{
"path": "./dist/web/openhps-core.es.min.js",
"limit": "76 KB"
}
],
"scripts": {
"examples": "shx cp node_modules/@openhps/*/dist/web/*.* examples/common/ && shx cp dist/web/*.* examples/common/ && serve ./examples",
"test": "mocha --config test/.mocharc.json",
"benchmark": "ts-node test/bench/worker.bench.ts",
"cover": "nyc mocha --config test/.mocharc.json && nyc report --reporter=cobertura",
"cover:ci": "nyc mocha --config test/.mocharc.json --reporter mocha-multi-reporters && nyc report --reporter=cobertura",
"lint": "eslint src/ --ignore-pattern three",
"size": "size-limit",
"clean": "shx rm -rf ./dist && shx rm -rf ./docs/out",
"build": "npm run clean && npm run build:three && 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 --plugin typedoc-umlclass",
"build:three": "node ./scripts/build.three.js",
"build:ts:cjs": "tsc --build ./tsconfig/tsconfig.bundle.cjs.json",
"build:ts:esm": "tsc --build ./tsconfig/tsconfig.bundle.esm.json && babel --config-file ./babel/babel.esm.config.js --out-dir ./dist/esm ./dist/esm",
"build:ts:esm5": "tsc --build ./tsconfig/tsconfig.bundle.esm5.json && babel --config-file ./babel/babel.esm5.config.js --out-dir ./dist/esm5 ./dist/esm5",
"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 --",
"bump:development": "standard-version --prerelease alpha --skip.changelog",
"bump:beta": "standard-version --prerelease beta --skip.changelog",
"bump:release": "standard-version --skip.changelog",
"build:paper": "docker run --rm --volume docs/paper:/data --env JOURNAL=joss openjournals/inara"
},
"keywords": [
"vrije universiteit brussel",
"wise",
"openhps",
"hybrid",
"positioning",
"system",
"indoor",
"outdoor",
"multilateration",
"triangulation",
"fingerprinting",
"dead reckoning"
],
"dependencies": {
"lodash.clonedeep": "^4.5.0",
"reflect-metadata": ">=0.2.2",
"threads": "^1.7.0",
"typedjson": "^1.8.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@openhps/geospatial": "^0.1.30",
"@openhps/video": "^0.1.14",
"@size-limit/preset-big-lib": "^11.1.2",
"@types/benchmark": "^2.1.5",
"@types/chai": "^4.3.14",
"@types/deasync": "^0.1.5",
"@types/lodash.clonedeep": "^4.5.9",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.7",
"@types/three": "^0.163.0",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"babel-plugin-replace-imports": "^1.0.2",
"benchmark": "^2.1.4",
"chai": "^4",
"csv-parser": "^3.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.3",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"microtime": "^3.1.1",
"mocha": "^10.4.0",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"serve": "^14.2.2",
"shx": "^0.3.4",
"size-limit": "^11.1.2",
"standard-version": "^9.5.0",
"terser-webpack-plugin": "^5.3.10",
"three": "^0.175.0",
"ts-node": "^10.9.2",
"typedoc": "^0.25.13",
"typedoc-umlclass": "^0.8.0",
"typescript": "^5.4",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-inject-plugin": "^1.5.5"
},
"nyc": {
"branches": 50,
"lines": 50,
"functions": 50,
"statements": 50,
"include": [
"src"
],
"exclude": [
"test",
"src/worker/WorkerRunner.ts",
"src/**/WorkerService.ts",
"src/service/_internal/DummyDataService.ts",
"src/three/**"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text-summary"
],
"cache": true,
"all": true,
"check-coverage": true,
"report-dir": "./coverage"
},
"engines": {
"node": ">=18.0.0"
}
}