Add API package

This commit is contained in:
2026-05-05 12:03:46 +00:00
commit af7612c706
8 changed files with 180 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
{
"name": "@smarthome.exchange/api",
"version": "0.1.0",
"private": false,
"description": "Typed API client for smarthome.exchange hubs.",
"exports": {
".": "./dist_ts/index.js"
},
"type": "module",
"author": "Task Venture Capital GmbH",
"license": "MIT",
"scripts": {
"test": "tstest test/ --verbose --logfile --timeout 60",
"build": "tsbuild tsfolders --allowimplicitany",
"buildDocs": "tsdoc"
},
"dependencies": {
"@api.global/typedrequest": "^3.3.0",
"@api.global/typedrequest-interfaces": "^3.0.19",
"@api.global/typedsocket": "^4.1.2",
"@push.rocks/smartpromise": "^4.2.4",
"@smarthome.exchange/interfaces": "workspace:*"
},
"devDependencies": {
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsdoc": "^2.0.3",
"@git.zone/tsrun": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@types/node": "^25.6.0"
},
"files": [
"ts/**/*",
"dist/**/*",
"dist_*/**/*",
"dist_ts/**/*",
"readme.md",
"changelog.md",
"license"
],
"browserslist": [
"last 1 chrome versions"
],
"packageManager": "pnpm@10.28.2"
}