{
  "name": "@huddly/device-api-usb",
  "version": "0.4.1",
  "description": "Huddly SDK device api which uses node-usb wrapper responsible for handling the transport layer of the communication and discovering the physical device/camera",
  "keywords": [
    "API",
    "Node-USB",
    "SDK",
    "Huddly",
    "Transport",
    "Protocol",
    "Device",
    "Discovery"
  ],
  "author": "Huddly AS <npm@huddly.com>",
  "homepage": "http://developer.huddly.com",
  "license": "MIT",
  "main": "./lib/src/index.js",
  "types": "./lib/src/index.d.ts",
  "directories": {
    "lib": "lib",
    "test": "tests"
  },
  "files": [
    "lib",
    "scripts",
    "README.md"
  ],
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Huddly/device-api-usb.git"
  },
  "scripts": {
    "build": "npm run build-ts && npm run tslint",
    "build-ts": "tsc --declaration",
    "prepublish-package": "node scripts/rmLibDir",
    "publish-package": "npm run build && npm publish",
    "watch-ts": "tsc -w",
    "tslint": "tslint -c tslint.json -p tsconfig.json",
    "test": "tsc --declaration && nyc mocha -r ts-node/register --recursive \"tests/**/*.spec.ts\" --exit",
    "test-js": "mocha -r ts-node/register --recursive \"lib/tests/**/*.spec.js\"",
    "upload-build": "node scripts/release-current-platform",
    "upload-binaries": "cross-env SKIP_TAR=true node scripts/release-current-platform",
    "install": "echo 'install without build'",
    "prepare": "npm run build-ts",
    "preversion": "npm run tslint",
    "prettier": "npx prettier  --config .prettierrc --write src/**/*.ts",
    "prettier-check": "npx prettier --config .prettierrc --check src/**/*.ts",
    "release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
    "release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
    "release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags",
    "audit-check": "node scripts/checkVulnerabilities.js"
  },
  "pre-commit": [
    "prettier-check",
    "tslint",
    "build-ts",
    "test"
  ],
  "binary": {
    "builtVersions": [
      "electron.napi",
      "node.napi"
    ],
    "host": "https://deviceapiusb.blob.core.windows.net/device-api-usb/"
  },
  "nyc": {
    "include": [
      "src/**/*.ts",
      "src/**/*.tsx"
    ],
    "extension": [
      ".ts",
      ".tsx"
    ],
    "require": [
      "ts-node/register"
    ],
    "reporter": [
      "text-summary",
      "html"
    ],
    "sourceMap": true,
    "instrument": true
  },
  "bugs": {
    "url": "https://github.com/Huddly/device-api-usb/issues"
  },
  "dependencies": {
    "@huddly/sdk-interfaces": "^0.2.3",
    "@types/node": "^17.0.23",
    "await-sleep": "0.0.1",
    "chalk": "^4.1.2",
    "lodash.throttle": "^4.1.1",
    "usb": "2.1.3"
  },
  "devDependencies": {
    "@types/chai": "^4.3.0",
    "@types/chai-as-promised": "^7.1.5",
    "@types/mocha": "^9.1.0",
    "@types/rewire": "^2.5.28",
    "@types/sinon": "^10.0.11",
    "@types/sinon-chai": "^3.2.8",
    "chai": "^4.3.6",
    "chai-as-promised": "^7.1.1",
    "chai-things": "^0.2.0",
    "copyfiles": "^2.4.1",
    "cross-env": "^7.0.3",
    "mocha": "^9.2.2",
    "mocha-param": "^2.0.1",
    "nyc": "^15.1.0",
    "pre-commit": "^1.2.2",
    "prettier": "^2.6.1",
    "rewire": "^6.0.0",
    "rimraf": "^3.0.2",
    "sinon": "^13.0.1",
    "sinon-chai": "^3.7.0",
    "source-map-support": "^0.5.19",
    "ts-node": "^10.7.0",
    "tslint": "^6.1.1",
    "typescript": "^4.6.3"
  }
}
