node-zwave-js/packages/core/package.json

144 lines
4.2 KiB
JSON

{
"name": "@zwave-js/core",
"version": "14.3.4",
"description": "zwave-js: core components",
"keywords": [],
"publishConfig": {
"access": "public"
},
"type": "module",
"exports": {
".": {
"@@dev": "./src/index.ts",
"browser": "./build/esm/index_browser.js",
"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"
},
"./test": {
"@@dev": "./src/index_test.ts",
"import": "./build/esm/index_test.js",
"require": "./build/cjs/index_test.js"
},
"./definitions": {
"@@dev": "./src/definitions/index.ts",
"import": "./build/esm/definitions/index.js",
"require": "./build/cjs/definitions/index.js"
},
"./dsk": {
"@@dev": "./src/dsk/index.ts",
"import": "./build/esm/dsk/index.js",
"require": "./build/cjs/dsk/index.js"
},
"./error": {
"@@dev": "./src/error/ZWaveError.ts",
"import": "./build/esm/error/ZWaveError.js",
"require": "./build/cjs/error/ZWaveError.js"
},
"./reflection": {
"@@dev": "./src/reflection/decorators.ts",
"import": "./build/esm/reflection/decorators.js",
"require": "./build/cjs/reflection/decorators.js"
},
"./registries": {
"@@dev": "./src/registries/index.ts",
"import": "./build/esm/registries/index.js",
"require": "./build/cjs/registries/index.js"
},
"./traits": {
"@@dev": "./src/traits/index.ts",
"import": "./build/esm/traits/index.js",
"require": "./build/cjs/traits/index.js"
},
"./validation": {
"@@dev": "./src/util/validation.ts",
"import": "./build/esm/util/validation.js",
"require": "./build/cjs/util/validation.js"
},
"./qr": {
"@@dev": "./src/qr/index.ts",
"browser": "./build/esm/qr/index.browser.js",
"import": "./build/esm/qr/index.js",
"require": "./build/cjs/qr/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": [
"./reflection/decorators.js"
],
"imports": {
"#crypto_primitives": {
"@@dev": "./src/crypto/primitives/primitives.node.ts",
"require": "./build/cjs/crypto/primitives/primitives.node.js",
"node": "./build/esm/crypto/primitives/primitives.node.js",
"default": "./build/esm/crypto/primitives/primitives.browser.js"
}
},
"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": {
"@alcalzone/jsonl-db": "^3.1.1",
"@zwave-js/shared": "workspace:*",
"alcalzone-shared": "^5.0.0",
"ansi-colors": "^4.1.3",
"dayjs": "^1.11.13",
"fflate": "^0.8.2",
"logform": "^2.6.1",
"nrf-intel-hex": "^1.4.0",
"reflect-metadata": "^0.2.2",
"semver": "^7.6.3",
"triple-beam": "*",
"winston": "^3.15.0",
"winston-daily-rotate-file": "^5.0.0",
"winston-transport": "^4.8.0"
},
"devDependencies": {
"@alcalzone/esm2cjs": "^1.4.1",
"@microsoft/api-extractor": "^7.47.9",
"@types/node": "^18.19.63",
"@types/semver": "^7.5.8",
"@types/sinon": "^17.0.3",
"@types/triple-beam": "^1.3.5",
"del-cli": "^6.0.0",
"sinon": "^19.0.2",
"tsx": "^4.19.2",
"typescript": "5.6.2",
"vitest": "^2.1.4"
}
}