UNPKG

@jaarnio/tripplite-pdu-sdk

Version:

Unified Tripplite PDU SDK with integrated real-time WebSocket server for monitoring and control

82 lines (81 loc) 2.11 kB
{ "name": "@jaarnio/tripplite-pdu-sdk", "version": "2.0.2", "description": "Unified Tripplite PDU SDK with integrated real-time WebSocket server for monitoring and control", "main": "dist/index.js", "types": "types/index.d.ts", "files": [ "dist", "types", "examples", "README.md", ".env.example" ], "exports": { ".": "./dist/index.js", "./client": "./dist/client.js" }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:integration": "node run-integration-test.js", "test:integration-short": "node test/short-integration-demo.js", "test:integration-persistent": "node test/persistent-integration-test.js", "test:integration-15min": "node test/long-running-integration.js", "prebuild": "rimraf dist", "build": "babel src -d dist --copy-files", "prepare": "npm run build", "lint": "eslint src examples", "lint:fix": "eslint src examples --fix", "example:server": "node examples/basic-server.js", "example:dashboard": "node examples/dashboard-client.js", "docs": "jsdoc -c jsdoc.json" }, "bin": { "tripplite-server": "./examples/basic-server.js" }, "keywords": [ "tripplite", "pdu", "power", "management", "sdk", "websocket", "real-time", "monitoring", "dashboard", "unified", "iot" ], "author": "jaarnio", "license": "MIT", "dependencies": { "axios": "^1.6.7", "dotenv": "^16.0.0", "ws": "^8.14.0" }, "devDependencies": { "@babel/cli": "^7.23.9", "@babel/core": "^7.24.0", "@babel/preset-env": "^7.24.0", "eslint": "^8.56.0", "jest": "^29.7.0", "jsdoc": "^4.0.2", "rimraf": "^5.0.10" }, "repository": { "type": "git", "url": "git+https://github.com/jaarnio/tripplite-pdu-sdk.git" }, "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/jaarnio/tripplite-pdu-sdk/issues" }, "homepage": "https://github.com/jaarnio/tripplite-pdu-sdk#readme", "engines": { "node": ">=14.0.0" } }