-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 4.31 KB
/
Copy pathpackage.json
File metadata and controls
112 lines (112 loc) · 4.31 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "labo-smart-home-coordinator",
"version": "1.2.1",
"description": "Standalone coordinator for devices implementing the public LSH MQTT/protocol contract.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"labo-smart-home-coordinator": "dist/cli.js",
"lsh-coordinator": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./mqtt": {
"types": "./dist/mqtt.d.ts",
"default": "./dist/mqtt.js"
}
},
"scripts": {
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"sync:version": "node scripts/sync-version.mjs --write",
"sync:version:check": "node scripts/sync-version.mjs --check",
"dev:build": "npm run sync:version:check && npm run clean && tsc",
"build": "npm run sync:version:check && npm run clean && tsc -p tsconfig.prod.json",
"validate:package-doc-links": "node scripts/validate-package-doc-links.mjs",
"typecheck": "npm run sync:version:check && tsc -p tsconfig.typecheck.json",
"lint": "npm run sync:version:check && eslint src --max-warnings=0 --cache --cache-location ./.cache/eslint",
"lint:fix": "npm run sync:version:check && eslint src --fix --cache --cache-location ./.cache/eslint",
"lint:md": "node scripts/lint-markdown.mjs",
"format": "prettier --write \"src/**/*.ts\" \"scripts/**/*.mjs\" \"examples/**/*.json\" \"docs/**/*.md\" README.md DOCS.md LIFECYCLE.md CITATION.cff package.json jest.config.js eslint.config.mjs knip.json tsconfig*.json .prettierrc.json \".github/**/*.{yml,yaml}\"",
"format:check": "prettier --check \"src/**/*.ts\" \"scripts/**/*.mjs\" \"examples/**/*.json\" \"docs/**/*.md\" README.md DOCS.md LIFECYCLE.md CITATION.cff package.json jest.config.js eslint.config.mjs knip.json tsconfig*.json .prettierrc.json \".github/**/*.{yml,yaml}\"",
"fix": "npm run format && npm run lint:fix",
"knip": "knip --production --strict",
"audit:prod": "npm audit --omit=dev",
"verify:package": "node scripts/verify-package.mjs",
"verify:package-contents": "node scripts/verify-package-contents.mjs",
"check": "npm run sync:version:check && npm run typecheck && npm run lint && npm run lint:md && npm run format:check && npm run knip && npm run build && npm run validate:package-doc-links && npm run verify:package-contents && npm run verify:package && npm run test:cov && npm run audit:prod",
"watch": "tsc -w",
"prepublishOnly": "npm run check",
"test": "npm run sync:version:check && jest --no-cache --detectOpenHandles",
"test:cov": "npm run sync:version:check && jest --coverage --no-cache --detectOpenHandles",
"test:watch": "jest --watch"
},
"files": [
"dist/",
"docs/",
"DOCS.md",
"LICENSE",
"LIFECYCLE.md",
"NOTICE",
"README.md",
"CITATION.cff",
"examples/",
"vendor/lsh-protocol/DOCS.md",
"vendor/lsh-protocol/README.md",
"vendor/lsh-protocol/docs/profiles-and-roles.md",
"vendor/lsh-protocol/shared/lsh_protocol.md",
"vendor/lsh-protocol/shared/lsh_protocol.schema.json",
"vendor/lsh-protocol/shared/lsh_protocol_manifest.json"
],
"keywords": [
"lsh",
"lsh-protocol",
"labo-smart-home",
"home-automation",
"smart-home-automation",
"typescript",
"mqtt",
"mqtt-automation",
"homie",
"coordinator",
"smart-home"
],
"author": {
"name": "Jacopo Labardi",
"email": "2527836+labodj@users.noreply.github.com"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/labodj/labo-smart-home-coordinator.git"
},
"bugs": {
"url": "https://github.com/labodj/labo-smart-home-coordinator/issues"
},
"homepage": "https://github.com/labodj/labo-smart-home-coordinator#readme",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@msgpack/msgpack": "^3.1.3",
"ajv": "^8.20.0",
"mqtt": "^5.15.2"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^26.1.1",
"eslint": "^10.7.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.16.0",
"globals": "^17.7.0",
"jest": "^30.4.2",
"knip": "^6.29.0",
"prettier": "^3.9.6",
"ts-jest": "^29.4.12",
"typescript": "^6.0.3",
"typescript-eslint": "^8.65.0"
}
}