UNPKG

@httpc/kit

Version:

httpc toolbox for building function-based API with minimal code and end-to-end type safety

111 lines 2.74 kB
{ "name": "@httpc/kit", "description": "httpc toolbox for building function-based API with minimal code and end-to-end type safety", "version": "0.1.0", "author": { "name": "Giuseppe La Torre", "url": "https://github.com/giuseppelt" }, "license": "MIT", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "exports": { ".": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js" }, "./validation-*": { "require": "./dist/cjs/validation/*/index.js", "import": "./dist/esm/validation/*/index.js" }, "./logging-*": { "require": "./dist/cjs/logging/*/index.js", "import": "./dist/esm/logging/*/index.js" }, "./caching-*": { "require": "./dist/cjs/caching/*/index.js", "import": "./dist/esm/caching/*/index.js" } }, "engines": { "node": ">=16.13.0" }, "files": [ "dist", "*.ts", "README.md", "package.json" ], "homepage": "https://httpc.dev", "repository": { "type": "git", "url": "https://github.com/giuseppelt/httpc.git", "directory": "packages/kit" }, "bugs": "https://github.com/giuseppelt/httpc/issues", "keywords": [ "httpc", "api", "rpc", "rpc-api", "json", "json-api", "typescript", "javascript", "client-generation" ], "dependencies": { "@httpc/server": "^0.1.0", "jws": "^4.0.0" }, "devDependencies": { "@types/jest": "^29.2.5", "@types/jws": "^3.2.4", "@types/node": "^16.18.11", "@types/node-fetch": "^2.6.2", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "jest": "^29.3.1", "lru-cache": "^7.14.1", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "ts-jest": "^29.0.3", "tsyringe": "^4.7.0", "typescript": "^4.9.4", "winston": "^3.8.2", "zod": "^3.20.2" }, "peerDependencies": { "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "lru-cache": "^7.14.1", "reflect-metadata": "^0.1.13", "tsyringe": "^4.7.0", "winston": "^3.8.2", "zod": "^3.19.1" }, "peerDependenciesMeta": { "class-transformer": { "optional": true }, "class-validator": { "optional": true }, "winston": { "optional": true }, "lru-cache": { "optional": true }, "zod": { "optional": true } }, "scripts": { "build": "rimraf dist && tsc -p tsconfig.build.json --module commonjs --outDir ./dist/cjs && tsc -p tsconfig.build.json --module es2020 --outDir ./dist/esm", "coverage": "jest --coverage", "test": "jest", "test:debug": "node --inspect ./node_modules/jest/bin/jest --runInBand", "test:watch": "jest --watch" } }