Implement config resolution, typed errors, HTTP and WebSocket transport helpers, and timeout handling for the SDK foundation. Add unit and local integration tests covering the SDK foundation behaviour and align package exports with the tsup output.
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "js-sdk",
|
|
"version": "0.1.0",
|
|
"description": "Wrenn JavaScript SDK — a client library for the Wrenn microVM platform.",
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"check": "make lint && make test",
|
|
"test": "vitest run",
|
|
"lint": "make lint",
|
|
"test:watch": "vitest",
|
|
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
"generate": "openapi-typescript api/openapi.yaml --output src/models/generated.ts",
|
|
"format": "biome format --write ."
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"packageManager": "pnpm@10.26.1",
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.14",
|
|
"@types/node": "^25.6.0",
|
|
"@types/ws": "^8.18.1",
|
|
"msw": "^2.14.3",
|
|
"openapi-typescript": "^7.13.0",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.5"
|
|
},
|
|
"dependencies": {
|
|
"ws": "^8.20.0",
|
|
"zod": "^4.4.3"
|
|
}
|
|
}
|