-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 3.64 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 3.64 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
65
66
67
68
69
70
71
72
73
{
"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/ble-proxy",
"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",
"server": "node --enable-source-maps packages/matter-server/dist/esm/MatterServer.js",
"noble-ble-proxy": "npm run noble-ble-proxy -w packages/ble-proxy",
"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",
"python-ble-proxy:install": "cd python_ble_proxy && python3 -m venv .venv && .venv/bin/pip install -e '.[test]'",
"python-ble-proxy:test": "cd python_ble_proxy && .venv/bin/pytest tests/ -v",
"python-ble-proxy:lint": "cd python_ble_proxy && .venv/bin/ruff check .",
"python-ble-proxy:lint-fix": "cd python_ble_proxy && .venv/bin/ruff check . --fix --unsafe-fixes",
"python-ble-proxy:typecheck": "cd python_ble_proxy && .venv/bin/mypy .",
"python-ble-proxy:build": "cd python_ble_proxy && .venv/bin/pip install build && .venv/bin/python -m build",
"python-ble-proxy:run": "cd python_ble_proxy && { [ -x .venv/bin/matter-ble-proxy ] || (python3 -m venv .venv && .venv/bin/pip install -e .); } && .venv/bin/matter-ble-proxy"
},
"devDependencies": {
"@matter/testing": "0.17.0",
"@nacho-iot/js-tools": "^0.1.7",
"@types/mocha": "^10.0.10",
"glob": "^13.0.6",
"globals": "^17.6.0",
"oxfmt": "^0.51.0",
"oxlint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0",
"tsx": "^4.22.3",
"typescript": "~6.0.3"
},
"overrides": {
"mocha": {
"diff": "^8.0.3",
"serialize-javascript": "^7.0.4"
}
}
}