-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.82 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.82 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "matterjs-server-monorepo",
"private": true,
"homepage": "https://github.com/matter-js/matterjs-server",
"bugs": {
"url": "https://github.com/matter-js/matterjs-server/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/matter-js/matterjs-server.git"
},
"workspaces": [
"packages/custom-clusters",
"packages/ws-controller",
"packages/ws-client",
"packages/dashboard",
"packages/matter-server"
],
"type": "module",
"scripts": {
"prepare": "npm run build-clean",
"clean": "nacho-build clean",
"build-only": "nacho-build",
"build": "npm run build-only && npm run generate --workspaces --if-present && npm run build-only && npm run bundle --workspaces --if-present",
"version": "nacho-build version",
"build-clean": "npm run clean && npm run build",
"lint": "oxlint --type-aware",
"lint-fix": "oxlint --fix --type-aware",
"format": "oxfmt \"packages/**/*.ts\"",
"format-verify": "oxfmt --check \"packages/**/*.ts\"",
"test": "matter-test --force-exit",
"relock": "node ./utils/relock.js && npm install",
"sync-matterjs": "node ./utils/sync-matterjs.js && npm run relock",
"server": "node --enable-source-maps packages/matter-server/dist/esm/MatterServer.js",
"send-command": "node --enable-source-maps packages/ws-controller/dist/esm/example/send-command.js",
"python:install": "cd python_client && python3 -m venv .venv && .venv/bin/pip install -e '.[test]'",
"python:generate": "npx tsx python_client/scripts/generate-python-clusters.ts",
"python:test": "cd python_client && .venv/bin/pytest tests/ -v --ignore=tests/test_integration.py",
"python:test-integration": "cd python_client && .venv/bin/pytest tests/test_integration.py -v",
"python:lint": "cd python_client && .venv/bin/ruff check . --exclude chip",
"python:lint-fix": "cd python_client && .venv/bin/ruff check . --exclude chip --fix --unsafe-fixes",
"python:typecheck": "cd python_client && .venv/bin/mypy .",
"python:test-all": "cd python_client && .venv/bin/pytest tests/ -v",
"python:build": "cd python_client && .venv/bin/pip install build && .venv/bin/python -m build"
},
"devDependencies": {
"@matter/testing": "0.17.0-alpha.0-20260428-4d2f68517",
"@nacho-iot/js-tools": "^0.1.3",
"@types/mocha": "^10.0.10",
"glob": "^13.0.6",
"globals": "^17.5.0",
"oxfmt": "^0.46.0",
"oxlint": "^1.61.0",
"oxlint-tsgolint": "^0.22.0",
"tsx": "^4.21.0",
"typescript": "~6.0.3"
},
"overrides": {
"mocha": {
"diff": "^8.0.3",
"serialize-javascript": "^7.0.4"
}
}
}