UNPKG

@zimic/http

Version:

Next-gen TypeScript-first HTTP utilities

124 lines (123 loc) 3.21 kB
{ "name": "@zimic/http", "description": "Next-gen TypeScript-first HTTP utilities", "keywords": [ "zimic", "typescript", "types", "typegen", "validation", "inference", "http", "api", "static" ], "version": "1.3.10", "homepage": "https://zimic.dev/docs/http", "repository": { "type": "git", "url": "https://github.com/zimicjs/zimic.git", "directory": "packages/zimic-http" }, "author": { "name": "Diego Aquino", "url": "https://github.com/diego-aquino" }, "funding": { "type": "github", "url": "https://github.com/sponsors/zimicjs" }, "private": false, "publishConfig": { "access": "public", "provenance": true }, "engines": { "node": ">=20.0.0" }, "license": "MIT", "files": [ "package.json", "README.md", "LICENSE.md", "src", "!src/**/tests", "!src/**/__tests__", "!src/**/*.test.ts", "dist", "index.d.ts", "typegen.d.ts" ], "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "index.d.ts", "bin": { "zimic-http": "./dist/cli.js" }, "exports": { ".": { "types": "./index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.js" }, "./typegen": { "types": "./typegen.d.ts", "import": "./dist/typegen.mjs", "require": "./dist/typegen.js", "default": "./dist/typegen.js" }, "./package.json": "./package.json" }, "scripts": { "setup": "playwright install chromium", "dev": "tsup --watch", "cli": "node --enable-source-maps ./dist/cli.js", "build": "tsup", "lint": "eslint --cache --no-error-on-unmatched-pattern --no-warn-ignored --fix", "lint:turbo": "pnpm lint . --max-warnings 0", "style": "prettier --log-level warn --ignore-unknown --no-error-on-unmatched-pattern --cache", "style:check": "pnpm style --check", "style:format": "pnpm style --write", "test": "dotenv -v NODE_ENV=test -v FORCE_COLOR=1 -- vitest", "test:turbo": "dotenv -v CI=true -- pnpm run test --coverage --reporter tree", "types:check": "tsc --noEmit", "typegen:fixtures": "tsx ./scripts/typegen/generateFixtureTypes.ts" }, "dependencies": { "openapi-typescript": "7.10.1", "picocolors": "^1.1.1", "yargs": "18.0.0" }, "devDependencies": { "@types/js-yaml": "^4.0.9", "@types/node": "^25.0.10", "@types/yargs": "^17.0.35", "@vitest/browser": "^4.0.18", "@vitest/browser-playwright": "^4.0.18", "@vitest/coverage-istanbul": "^4.0.18", "@zimic/eslint-config-node": "workspace:*", "@zimic/interceptor": "workspace:*", "@zimic/lint-staged-config": "workspace:*", "@zimic/tsconfig": "workspace:*", "@zimic/utils": "workspace:*", "dotenv-cli": "^11.0.0", "eslint": "^9.39.2", "js-yaml": "^4.1.1", "playwright": "^1.58.0", "prettier": "^3.8.1", "tsup": "^8.5.1", "tsx": "^4.21.0", "typescript": "^5.9.3", "vitest": "^4.0.18" }, "peerDependencies": { "typescript": ">=5.0.0" }, "peerDependenciesMeta": { "typescript": { "optional": true } } }