UNPKG

hikvision-isapi-client

Version:

Enhanced TypeScript version of hikvision-isapi-client with modern features, type safety, and video decoding

79 lines (78 loc) 2.23 kB
{ "name": "hikvision-isapi-client", "version": "0.1.52", "main": "dist/bundle.js", "browser": "dist/browser.js", "typings": "index.d.ts", "description": "Enhanced TypeScript version of hikvision-isapi-client with modern features, type safety, and video decoding", "license": "MIT", "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:unit": "jest test/unit", "test:integration": "jest test/integration", "test:quality": "jest test/quality", "test:performance": "jest test/performance", "test:ci": "jest --coverage --ci --watchAll=false", "build": "node esbuild.config.js", "run": "node esbuild.config.js && node dist/bundle.js", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write src/**/*.ts", "type-check": "tsc --noEmit", "quality:check": "npm run type-check && npm run lint && npm run test:coverage" }, "author": "ChenLuo", "repository": { "type": "git", "url": "https://github.com/ChenLuoi/hikvision-api" }, "bugs": "https://github.com/ChenLuoi/hikvision-api/issues", "homepage": "https://github.com/ChenLuoi/hikvision-api#readme", "keywords": [ "hikvision", "isapi", "typescript", "nvr", "camera", "video-decoder", "surveillance", "security-camera", "hikvision-isapi-client" ], "dependencies": { "@types/xml2js": "^0.4.14", "axios": "^1.11.0", "threads": "^1.7.0", "ws": "^8.18.3", "xml2js": "^0.6.2" }, "devDependencies": { "@babel/preset-typescript": "^7.27.1", "@types/jest": "^30.0.0", "@types/node": "^24.2.0", "@types/ws": "^8.18.1", "@typescript-eslint/eslint-plugin": "^8.39.0", "@typescript-eslint/parser": "^8.39.0", "esbuild": "^0.25.8", "eslint": "^9.32.0", "husky": "^9.1.7", "jest": "^30.0.5", "jest-junit": "^16.0.0", "lint-staged": "^16.1.4", "prettier": "^3.6.2", "ts-jest": "^29.4.1", "ts-loader": "^9.5.1", "typescript": "^5.9.2" }, "lint-staged": { "*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{js,json,md}": [ "prettier --write" ] } }