OpenHPS/openhps-rdf

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@openhps/rdf",
  "version": "0.4.64",
  "description": "Open Hybrid Positioning System",
  "author": "Maxim Van de Wynckel",
  "license": "Apache-2.0",
  "sideEffects": [
    "./**/mapping/**/*"
  ],
  "bin": {
    "openhps-rdf": "./dist/cjs/bin/cli.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/OpenHPS/openhps-rdf.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "main": "./dist/cjs/index.js",
  "types": "./dist/types/index.d.ts",
  "module": "./dist/esm5/index.js",
  "es2015": "./dist/esm/index.js",
  "exports": {
    ".": {
      "require": "./dist/cjs/index.js",
      "import": "./dist/esm/index.js",
      "types": "./dist/types/index.d.ts"
    },
    "./vocab": {
      "require": "./dist/cjs/index.vocab.js",
      "import": "./dist/esm/index.vocab.js",
      "types": "./dist/types/index.vocab.d.ts"
    },
    "./sparql": {
      "require": "./dist/cjs/index.sparql.js",
      "import": "./dist/esm/index.sparql.js",
      "types": "./dist/types/index.sparql.d.ts"
    },
    "./serialization": {
      "require": "./dist/cjs/index.serialization.js",
      "import": "./dist/esm/index.serialization.js",
      "types": "./dist/types/index.serialization.d.ts"
    },
    "./minimal": {
      "require": "./dist/cjs/index.minimal.js",
      "import": "./dist/esm/index.minimal.js",
      "types": "./dist/types/index.minimal.d.ts"
    },
    "./generator": {
      "require": "./dist/cjs/index.generator.js",
      "import": "./dist/esm/index.generator.js",
      "types": "./dist/types/index.generator.d.ts"
    },
    "./engine": {
      "require": "./dist/cjs/index.engine.js",
      "import": "./dist/esm/index.engine.js",
      "types": "./dist/types/index.engine.d.ts"
    },
    "./models": {
      "require": "./dist/cjs/index.models.js",
      "import": "./dist/esm/index.models.js",
      "types": "./dist/types/index.models.d.ts"
    }
  },
  "unpkg": "dist/web/openhps-rdf.all.min.js",
  "jsdelivr": "dist/web/openhps-rdf.all.min.js",
  "files": [
    "dist/**/*",
    "src/**/*",
    "*.js",
    "*.d.ts"
  ],
  "scripts": {
    "cli": "ts-node ./src/bin/cli.ts",
    "benchmark": "ts-node test/bench/serialization.bench.ts",
    "examples": "shx cp node_modules/@openhps/*/dist/web/*.* examples/common/ && shx cp dist/web/*.* examples/common/ && serve ./examples",
    "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-multi-reporters && nyc report --reporter=cobertura",
    "lint": "eslint src/ --ignore-pattern bin --ignore-pattern engine-*.js --ignore-pattern **/vocab/*.ts",
    "clean": "shx rm -rf ./dist && shx rm -rf ./docs/out",
    "build": "npm run clean && npm-run-all --parallel build:comunica build:declarations && npm-run-all --parallel build:ts:* && npm run build:webpack",
    "build:comunica": "npm-run-all --parallel build:comunica:*",
    "build:comunica:default": "comunica-compile-config config/config-default.json > src/service/engine-default.js",
    "build:comunica:experimental": "comunica-compile-config config/config-minimal.json > src/service/engine-minimal.js",
    "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:declarations": "ts-node ./src/bin/generate.ts",
    "build:ts:types": "tsc --build ./tsconfig/tsconfig.bundle.types.json",
    "build:webpack": "npm-run-all --parallel build:webpack:*",
    "build:webpack:prod": "webpack --env prod --progress --",
    "build:webpack:dev": "webpack --env dev --progress --",
    "build:typedoc": "typedoc --options docs/typedoc.json",
    "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",
    "rdf",
    "semantic linked data",
    "linked data"
  ],
  "dependencies": {
    "@comunica/query-sparql": "^2.10.1",
    "@inquirer/prompts": "^3.3.0",
    "@types/n3": "^1.16.4",
    "axios": "^1.6.5",
    "chalk": "^4",
    "n3": "^1.17.2",
    "sparqljs": "^3.7.1",
    "wkt": "^0.1.1",
    "rdfxml-streaming-parser": "^2.4.0"
  },
  "optionalDependencies": {
    "@openhps/fingerprinting": ">=0.1.7",
    "@openhps/geospatial": ">=0.1.29",
    "@openhps/rf": ">=0.1.61",
    "@openhps/video": ">=0.1.14"
  },
  "peerDependencies": {
    "@openhps/core": ">=0.7.0",
    "reflect-metadata": ">=0.2.1"
  },
  "devDependencies": {
    "@commitlint/cli": "^18.4.3",
    "@commitlint/config-conventional": "^18.4.3",
    "@comunica/query-sparql-link-traversal": "0.2.0",
    "@comunica/query-sparql-rdfjs": "^2.10.1",
    "@comunica/runner": "^2.10.0",
    "@openhps/core": "^0.7.2",
    "@openhps/fingerprinting": "^0.1.7",
    "@openhps/geospatial": "^0.1.29",
    "@openhps/rf": "^0.1.61",
    "@openhps/video": "^0.1.14",
    "@types/axios": "^0.14.0",
    "@types/benchmark": "^2.1.5",
    "@types/chai": "^4.3.11",
    "@types/mocha": "^10.0.6",
    "@types/node": "^20.10.4",
    "@types/node-fetch": "^3.0.3",
    "@types/sparqljs": "^3.1.9",
    "@types/uuid": "^9.0.7",
    "@typescript-eslint/eslint-plugin": "^6.14.0",
    "@typescript-eslint/parser": "^6.14.0",
    "benchmark": "^2.1.4",
    "buffer": "^6.0.3",
    "chai": "^4.3.10",
    "eslint": "^8.55.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-deprecation": "^2.0.0",
    "eslint-plugin-import": "^2.29.0",
    "eslint-plugin-jsdoc": "^46.9.0",
    "eslint-plugin-prettier": "^5.0.1",
    "husky": "^8.0.3",
    "mocha": "^10.2.0",
    "mocha-junit-reporter": "^2.2.1",
    "mocha-multi-reporters": "^1.5.1",
    "node-fetch": "^3.3.2",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "prettier": "^3.1.1",
    "reflect-metadata": ">=0.1.14",
    "serve": "^14.2.1",
    "shx": "^0.3.4",
    "standard-version": "^9.5.0",
    "terser-webpack-plugin": "^5.3.9",
    "ts-node": "^10.9.2",
    "typedoc": "^0.25.4",
    "typescript": "^5.3",
    "webpack": "^5.89.0",
    "webpack-bundle-analyzer": "^4.10.1",
    "webpack-cli": "^5.1.4"
  },
  "nyc": {
    "branches": 0,
    "lines": 20,
    "functions": 17,
    "statements": 20,
    "include": [
      "src"
    ],
    "exclude": [
      "test",
      "src/bin"
    ],
    "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"
    }
  }
}