UNPKG

@cardbrother/up-fetch

Version:

Advanced fetch client builder for typescript.

84 lines 2.15 kB
{ "name": "@cardbrother/up-fetch", "version": "1.3.6-beta.7", "description": "Advanced fetch client builder for typescript.", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "sideEffects": false, "files": [ "dist", "src" ], "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./package.json": "./package.json" }, "keywords": [ "fetch", "fetch wrapper", "request", "http", "config", "fetcher", "api", "rest", "get", "axios", "wretch", "got", "ky" ], "author": "guozichun", "license": "MIT", "devDependencies": { "@eslint/js": "^9.20.0", "@standard-schema/spec": "^1.0.0", "@types/node": "^22.13.1", "eslint": "^9.20.0", "eslint-plugin-prefer-let": "^4.0.0", "jsdom": "^26.0.0", "msw": "^2.7.0", "prettier": "^3.5.0", "tsup": "^8.3.6", "typescript": "5.7.3", "typescript-eslint": "^8.24.0", "valibot": ">=1.0.0-rc.0", "vitest": "^3.0.5", "zod": "3.24.1" }, "publishConfig": { "access": "public", "branches": [ "master" ] }, "repository": { "type": "git", "url": "https://github.com/guotingchao/up-fetch" }, "engines": { "node": ">=18" }, "scripts": { "lint": "eslint . && tsc --noEmit", "build": "tsup", "dev": "vitest", "test": "vitest run", "release:pre:beta": "git pull && node scripts/check-beta-version.js && npm run lint && npm run test && npm run build", "release:pre:stable": "git pull && node scripts/check-stable-version.js && npm run lint && npm run test && npm run build", "release:stable": "npm run release:pre:stable && npm publish && npm run release:post", "release:beta": "npm run release:pre:beta && npm publish --tag beta && npm run release:post", "release:post": "git add . && git commit -a && git tag v$npm_package_version && git push --tags && git push" } }