OpenHPS/openhps-rf

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@openhps/rf",
  "version": "0.1.62",
  "description": "Open Hybrid Positioning System",
  "author": "Maxim Van de Wynckel",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/OpenHPS/openhps-rf.git"
  },
  "bugs": {
    "url": "https://github.com/OpenHPS/openhps-rf/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-rf.min.js",
  "jsdelivr": "./dist/web/openhps-rf.min.js",
  "lsd:module": true,
  "browser": {
    "typescript": false,
    "microtime": false
  },
  "module": "./dist/esm5/index.js",
  "es2015": "./dist/esm/index.js",
  "files": [
    "dist/**/*",
    "src/**/*"
  ],
  "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-all --parallel build:ts:* && npm run build:webpack",
    "build:components": "componentsjs-generator",
    "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 --",
    "deploy:typedoc": "gh-pages -d ./docs/out",
    "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",
    "rf"
  ],
  "dependencies": {
    "ml-levenberg-marquardt": "^4.1.3",
    "ts-md5": "^1.3.1"
  },
  "peerDependencies": {
    "@openhps/core": ">=0.4.18",
    "reflect-metadata": ">=0.1.13"
  },
  "devDependencies": {
    "@commitlint/cli": "^18.0.0",
    "@commitlint/config-conventional": "^18.0.0",
    "@openhps/core": "^0.5.12",
    "@openhps/csv": "0.1.11",
    "@openhps/rdf": "^0.4.16",
    "@types/chai": "^4.3.9",
    "@types/ml-levenberg-marquardt": "^3.1.2",
    "@types/mocha": "^10.0.3",
    "@types/node": "^20.8.7",
    "@typescript-eslint/eslint-plugin": "^6.8.0",
    "@typescript-eslint/parser": "^6.8.0",
    "chai": "^4.3.10",
    "eslint": "^8.52.0",
    "eslint-config-prettier": ">=9.0.0",
    "eslint-plugin-import": "^2.28.1",
    "eslint-plugin-jsdoc": "^46.8.2",
    "eslint-plugin-prettier": ">=5.0.1",
    "husky": "^8.0.3",
    "mocha": "^10.2.0",
    "mocha-junit-reporter": "^2.2.1",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "prettier": "^3.0.3",
    "reflect-metadata": ">=0.1.13",
    "shx": "^0.3.4",
    "standard-version": "^9.5.0",
    "terser-webpack-plugin": "^5.3.9",
    "ts-node": "^10.9.1",
    "typedoc": "^0.25.2",
    "typescript": "^5.2.2",
    "webpack": "^5.89.0",
    "webpack-cli": "^5.1.4"
  },
  "nyc": {
    "branches": 0,
    "lines": 0,
    "functions": 0,
    "statements": 0,
    "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"
    }
  }
}