package.json
{
"name": "@openhps/opencv",
"version": "0.1.0-alpha.20",
"description": "Open Hybrid Positioning System - OpenCV component",
"repository": {
"type": "git",
"url": "https://github.com/OpenHPS/openhps-opencv.git"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"unpkg": "./dist/web/openhps-opencv.min.js",
"jsdelivr": "./dist/web/openhps-opencv.min.js",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./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",
"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 && npm run build:webpack",
"build:esm": "tsc --module es2015 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build:webpack": "npm-run-all --parallel build:webpack:*",
"build:webpack:dev": "webpack --env dev",
"build:webpack:prod": "webpack --env prod",
"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"
},
"author": "Maxim Van de Wynckel",
"license": "Apache-2.0",
"dependencies": {
"@openhps/video": ">=0.1.5",
"opencv4nodejs": "^5.6.0"
},
"peerDependencies": {
"@openhps/core": ">=0.3.2-alpha.1",
"reflect-metadata": ">=0.1.13"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@openhps/core": ">=0.3.2-alpha.1",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": ">=5.1.0",
"@typescript-eslint/parser": ">=5.1.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-deprecation": "^1.2.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"mocha": "^9.1.3",
"mocha-junit-reporter": "^2.0.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"reflect-metadata": ">=0.1.13",
"shx": "^0.3.3",
"standard-version": "^9.3.2",
"ts-node": "^10.3.0",
"typedoc": "^0.22.6",
"typescript": "^4.4.4",
"webpack": "^5.59.0",
"webpack-cli": "^4.9.1"
},
"nyc": {
"branches": 10,
"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",
"pre-push": "npm run test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}