1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
"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"
}
}
|