{ "name": "mattertimesync", "version": "0.1.0", "description": "CLI Matter controller that synchronizes the clocks of Matter devices via the standard Time Synchronization cluster", "type": "module", "license": "MIT", "engines": { "node": ">=20" }, "bin": { "mattertimesync": "dist/cli.js" }, "files": [ "dist" ], "scripts": { "build": "tsc", "bundle": "npm run clean && npm run build && esbuild dist/cli.js --bundle --platform=node --target=node20 --format=esm --external:bun:sqlite --external:*/BunSqlite.js --alias:node:sqlite=./dist/sqlite-lazy.js --banner:js=\"import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);\" --outfile=mattertimesync.mjs", "prepack": "npm run clean && npm run build", "clean": "rm -rf dist", "test": "vitest run", "test:watch": "vitest", "lint": "oxlint src test", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"*.json\" \"*.md\"", "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"*.json\" \"*.md\"" }, "dependencies": { "@matter/main": "^0.17.6", "@project-chip/matter.js": "^0.17.6" }, "devDependencies": { "@types/node": "^26.1.1", "esbuild": "^0.28.1", "oxlint": "^1.0.0", "prettier": "^3.6.0", "typescript": "^7.0.2", "vitest": "^4.1.10" } }