amaran-light-cli
Version:
Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.
113 lines (112 loc) • 2.94 kB
JSON
{
"name": "amaran-light-cli",
"version": "1.11.0",
"type": "module",
"description": "Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./device-control": {
"types": "./dist/device-control.d.ts",
"import": "./dist/device-control.js"
},
"./circadian": {
"types": "./dist/circadian.d.ts",
"import": "./dist/circadian.js"
},
"./commands": {
"types": "./dist/commands-api.d.ts",
"import": "./dist/commands-api.js"
},
"./cli": {
"import": "./dist/cli.js"
},
"./package.json": "./package.json"
},
"bin": {
"amaran-cli": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"start": "node dist/cli.js",
"dev": "tsx src/cli.ts",
"test": "./scripts/test.sh",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"lint:deprecations": "eslint .",
"format": "biome format --write .",
"format:check": "biome format .",
"check": "biome check .",
"check:fix": "biome check --write .",
"typecheck": "tsc --noEmit",
"verify": "npm run check && npm run lint:deprecations && npm run build && npm test",
"prepare": "lefthook install",
"release": "node scripts/release.js"
},
"files": [
"dist",
"scripts",
"README.md",
"LICENSE",
"docs/CHANGELOG.md"
],
"repository": {
"type": "git",
"url": "https://github.com/theontho/amaran-cli.git"
},
"bugs": {
"url": "https://github.com/theontho/amaran-cli/issues"
},
"homepage": "https://github.com/theontho/amaran-cli#readme",
"keywords": [
"amaran",
"aputure",
"lighting",
"cli",
"websocket",
"smart-home",
"home-automation",
"circadian"
],
"author": "Mahyar McDonald <github@hmmfn.com>",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"chalk": "^5.3.0",
"chart.js": "^4.5.1",
"chartjs-node-canvas": "^5.0.0",
"commander": "^14.0.0",
"geoip-lite": "^1.4.10",
"suncalc": "^1.9.0",
"ws": "^8.14.2",
"zod": "^3.23.0"
},
"devDependencies": {
"@biomejs/biome": "^2.3.8",
"@types/geoip-lite": "^1.4.4",
"@types/node": "^24.0.0",
"@types/node-localstorage": "^1.3.3",
"@types/suncalc": "^1.9.0",
"@types/ws": "^8.5.8",
"@vitest/coverage-v8": "^4.0.15",
"cheerio": "^1.1.2",
"cross-env": "^10.1.0",
"eslint": "^9.39.2",
"lefthook": "^2.1.6",
"node-localstorage": "^3.0.5",
"tsx": "^4.7.1",
"typescript": "^5.2.2",
"typescript-eslint": "^8.50.0",
"vitest": "^4.0.15"
}
}