145 lines
4.1 KiB
JSON
145 lines
4.1 KiB
JSON
{
|
|
"name": "zwave-js",
|
|
"version": "14.3.6",
|
|
"description": "Z-Wave driver written entirely in JavaScript/TypeScript",
|
|
"keywords": [],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"@@dev": "./src/index.ts",
|
|
"import": "./build/esm/index.js",
|
|
"require": "./build/cjs/index.js"
|
|
},
|
|
"./safe": {
|
|
"@@dev": "./src/index_safe.ts",
|
|
"import": "./build/esm/index_safe.js",
|
|
"require": "./build/cjs/index_safe.js"
|
|
},
|
|
"./Controller": {
|
|
"@@dev": "./src/Controller.ts",
|
|
"import": "./build/esm/Controller.js",
|
|
"require": "./build/cjs/Controller.js"
|
|
},
|
|
"./Driver": {
|
|
"@@dev": "./src/Driver.ts",
|
|
"import": "./build/esm/Driver.js",
|
|
"require": "./build/cjs/Driver.js"
|
|
},
|
|
"./Error": {
|
|
"@@dev": "./src/Error.ts",
|
|
"import": "./build/esm/Error.js",
|
|
"require": "./build/cjs/Error.js"
|
|
},
|
|
"./Node": {
|
|
"@@dev": "./src/Node.ts",
|
|
"import": "./build/esm/Node.js",
|
|
"require": "./build/cjs/Node.js"
|
|
},
|
|
"./Testing": {
|
|
"@@dev": "./src/Testing.ts",
|
|
"import": "./build/esm/Testing.js",
|
|
"require": "./build/cjs/Testing.js"
|
|
},
|
|
"./Utils": {
|
|
"@@dev": "./src/Utils.ts",
|
|
"import": "./build/esm/Utils.js",
|
|
"require": "./build/cjs/Utils.js"
|
|
},
|
|
"./Values": {
|
|
"@@dev": "./src/Values.ts",
|
|
"import": "./build/esm/Values.js",
|
|
"require": "./build/cjs/Values.js"
|
|
},
|
|
"./Zniffer": {
|
|
"@@dev": "./src/Zniffer.ts",
|
|
"import": "./build/esm/Zniffer.js",
|
|
"require": "./build/cjs/Zniffer.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"bin/",
|
|
"build/**/*.{js,cjs,mjs,d.ts,d.cts,d.mts,map}",
|
|
"build/**/package.json"
|
|
],
|
|
"bin": {
|
|
"mock-server": "bin/mock-server.cjs"
|
|
},
|
|
"author": {
|
|
"name": "AlCalzone",
|
|
"email": "d.griesel@gmx.net"
|
|
},
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/zwave-js/node-zwave-js#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/zwave-js/node-zwave-js.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/zwave-js/node-zwave-js/issues"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/AlCalzone/"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18"
|
|
},
|
|
"scripts": {
|
|
"ts": "tsx --conditions=@@dev",
|
|
"codegen": "yarn ts maintenance/codegen.ts",
|
|
"build": "tsc -b tsconfig.build.json --pretty && yarn postbuild",
|
|
"postbuild": "yarn esm2cjs --in build/esm --out build/cjs -l error -t node18",
|
|
"clean": "del-cli build/ \"*.tsbuildinfo\"",
|
|
"extract-api": "yarn api-extractor run",
|
|
"lint:ts": "eslint --cache \"src/**/*.ts\"",
|
|
"lint:ts:fix": "yarn run lint:ts --fix",
|
|
"test:ts": "vitest",
|
|
"test:dirty": "tsx ../maintenance/src/resolveDirtyTests.ts --run"
|
|
},
|
|
"dependencies": {
|
|
"@alcalzone/jsonl-db": "^3.1.1",
|
|
"@homebridge/ciao": "^1.3.1",
|
|
"@zwave-js/cc": "workspace:*",
|
|
"@zwave-js/config": "workspace:*",
|
|
"@zwave-js/core": "workspace:*",
|
|
"@zwave-js/host": "workspace:*",
|
|
"@zwave-js/nvmedit": "workspace:*",
|
|
"@zwave-js/serial": "workspace:*",
|
|
"@zwave-js/shared": "workspace:*",
|
|
"@zwave-js/testing": "workspace:*",
|
|
"alcalzone-shared": "^5.0.0",
|
|
"ansi-colors": "^4.1.3",
|
|
"execa": "^5.1.1",
|
|
"got": "^13.0.0",
|
|
"mdns-server": "^1.0.11",
|
|
"p-queue": "^8.0.1",
|
|
"proper-lockfile": "^4.1.2",
|
|
"reflect-metadata": "^0.2.2",
|
|
"semver": "^7.6.3",
|
|
"serialport": "^12.0.0",
|
|
"source-map-support": "^0.5.21",
|
|
"winston": "^3.15.0",
|
|
"xstate": "4.38.3"
|
|
},
|
|
"devDependencies": {
|
|
"@alcalzone/esm2cjs": "^1.4.1",
|
|
"@microsoft/api-extractor": "^7.47.9",
|
|
"@types/node": "^18.19.63",
|
|
"@types/proper-lockfile": "^4.1.4",
|
|
"@types/proxyquire": "^1.3.31",
|
|
"@types/semver": "^7.5.8",
|
|
"@types/sinon": "^17.0.3",
|
|
"@types/source-map-support": "^0.5.10",
|
|
"@xstate/test": "^0.5.1",
|
|
"@zwave-js/maintenance": "workspace:*",
|
|
"@zwave-js/transformers": "workspace:*",
|
|
"del-cli": "^6.0.0",
|
|
"mockdate": "^3.0.5",
|
|
"proxyquire": "^2.1.3",
|
|
"sinon": "^19.0.2",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "5.6.2",
|
|
"vitest": "^2.1.4"
|
|
}
|
|
}
|