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

73 lines
1.9 KiB
JSON

{
"name": "@zwave-js/shared",
"version": "14.3.4",
"description": "zwave-js: shared utilities",
"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"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"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"
},
"dependencies": {
"alcalzone-shared": "^5.0.0"
},
"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"
},
"devDependencies": {
"@alcalzone/esm2cjs": "^1.4.1",
"@microsoft/api-extractor": "^7.47.9",
"@types/node": "^18.19.63",
"@types/sinon": "^17.0.3",
"del-cli": "^6.0.0",
"sinon": "^19.0.2",
"tsx": "^4.19.2",
"typescript": "5.6.2",
"vitest": "^2.1.4"
}
}