UNPKG

@openhps/mongodb

Version:

Open Hybrid Positioning System - MongoDB Database component

118 lines (117 loc) 3.69 kB
{ "name": "@openhps/mongodb", "version": "0.1.7", "description": "Open Hybrid Positioning System - MongoDB Database component", "author": "Maxim Van de Wynckel", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/OpenHPS/openhps-mongodb.git" }, "publishConfig": { "access": "public" }, "main": "./dist/cjs/index.js", "types": "./dist/cjs/index.d.ts", "module": "./dist/esm/index.js", "exports": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js" }, "files": [ "dist/**/*", "src/**/*" ], "scripts": { "test": "mocha --config test/.mocharc.json", "test:docker": "docker-compose run --entrypoint \"npm run test\" app", "test:github:docker": "docker-compose run --entrypoint \"npm run test -- --reporter mocha-junit-reporter\" app", "cover": "nyc mocha --config test/.mocharc.json && nyc report --reporter=cobertura", "cover:docker": "docker-compose run --entrypoint \"npm run cover\" app", "cover:ci": "nyc mocha --config test/.mocharc.json --reporter mocha-junit-reporter && nyc report --reporter=cobertura", "cover:ci:docker": "docker-compose run --entrypoint \"npm run cover:ci\" app", "lint": "eslint src/**", "clean": "shx rm -rf ./dist && shx rm -rf ./docs/out", "build": "npm run clean && npm-run-all --parallel build:esm build:cjs build:typedoc", "build:docker": "docker-compose build", "build:esm": "tsc --module es2015 --outDir dist/esm", "build:cjs": "tsc --module commonjs --outDir dist/cjs", "build:typedoc": "typedoc --options docs/typedoc.json", "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", "mongodb" ], "dependencies": { "mongodb": "^4.10.0" }, "peerDependencies": { "@openhps/core": ">=0.3.46" }, "devDependencies": { "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@openhps/core": ">=0.3.46", "@types/chai": "^4.3.3", "@types/mocha": "^9.1.1", "@types/node": "^18.7.19", "@typescript-eslint/eslint-plugin": "^5.38.0", "@typescript-eslint/parser": "^5.38.0", "chai": "^4.3.6", "eslint": "^8.24.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-deprecation": "^1.3.2", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^39.3.6", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "mocha": "^10.0.0", "mocha-junit-reporter": "^2.0.2", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "prettier": "^2.7.1", "shx": "^0.3.4", "standard-version": "^9.5.0", "ts-node": "^10.9.1", "typedoc": "^0.23.15", "typescript": "^4.8.3" }, "nyc": { "branches": 0, "lines": 20, "functions": 20, "statements": 20, "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", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } } }