91 lines
2.6 KiB
JSON
91 lines
2.6 KiB
JSON
{
|
|
"name": "@zwave-js/serial",
|
|
"version": "14.3.6",
|
|
"description": "zwave-js: Serialport driver",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"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"
|
|
},
|
|
"./serialapi": {
|
|
"@@dev": "./src/index_serialapi.ts",
|
|
"import": "./build/esm/index_serialapi.js",
|
|
"require": "./build/cjs/index_serialapi.js"
|
|
},
|
|
"./mock": {
|
|
"@@dev": "./src/index_mock.ts",
|
|
"import": "./build/esm/index_mock.js",
|
|
"require": "./build/cjs/index_mock.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"keywords": [],
|
|
"files": [
|
|
"build/**/*.{js,cjs,mjs,d.ts,d.cts,d.mts,map}",
|
|
"build/**/package.json"
|
|
],
|
|
"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": {
|
|
"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": {
|
|
"@serialport/stream": "^12.0.0",
|
|
"@zwave-js/cc": "workspace:*",
|
|
"@zwave-js/core": "workspace:*",
|
|
"@zwave-js/host": "workspace:*",
|
|
"@zwave-js/shared": "workspace:*",
|
|
"alcalzone-shared": "^5.0.0",
|
|
"serialport": "^12.0.0",
|
|
"winston": "^3.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"@alcalzone/esm2cjs": "^1.4.1",
|
|
"@microsoft/api-extractor": "^7.47.9",
|
|
"@serialport/binding-mock": "^10.2.2",
|
|
"@serialport/bindings-interface": "patch:@serialport/bindings-interface@npm%3A1.2.2#~/.yarn/patches/@serialport-bindings-interface-npm-1.2.2-e597dbc676.patch",
|
|
"@types/node": "^18.19.63",
|
|
"@types/sinon": "^17.0.3",
|
|
"ansi-colors": "^4.1.3",
|
|
"del-cli": "^6.0.0",
|
|
"sinon": "^19.0.2",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "5.6.2",
|
|
"vitest": "^2.1.4"
|
|
}
|
|
}
|