UNPKG

lifxlan

Version:

TypeScript library for controlling LIFX products over LAN

70 lines (69 loc) 1.6 kB
{ "name": "lifxlan", "version": "0.0.84", "description": "TypeScript library for controlling LIFX products over LAN", "type": "module", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "scripts": { "test": "bun test --coverage", "test:integration": "bun test tests/integration.test.ts --timeout 30000", "build": "bun run build:esm && bun run build:cjs", "build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > dist/esm/package.json", "build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json", "prepack": "bun run test && bun run build", "lint": "oxlint", "benchmark": "bun run benchmarks/performance.js" }, "keywords": [ "lifx", "lan", "smart-lights", "iot", "home-automation", "smart-home", "lights", "bulbs", "typescript", "deno", "bun", "nodejs", "wifi-lights", "color-lights", "led", "protocol", "api", "client", "library" ], "exports": { "./*": { "import": "./dist/esm/*", "require": "./dist/cjs/*" } }, "typesVersions": { "*": { "*": [ "./dist/esm/*" ] } }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/jmmoser/lifxlan.git" }, "author": "Justin Moser", "license": "MIT", "devDependencies": { "@types/bun": "^1.3.3", "@types/node": "^24.10.1", "mitata": "^1.0.34", "oxlint": "^1.30.0", "typescript": "^5.9.3" } }