|
| 1 | +{ |
| 2 | + "name": "swr-openapi", |
| 3 | + "description": "Generate SWR hooks from OpenAPI schemas", |
| 4 | + "version": "5.4.2", |
| 5 | + "author": { |
| 6 | + "name": "Hunter Tunnicliff", |
| 7 | + |
| 8 | + }, |
| 9 | + "license": "MIT", |
| 10 | + "type": "module", |
| 11 | + "main": "./dist/index.mjs", |
| 12 | + "exports": { |
| 13 | + ".": { |
| 14 | + "import": "./dist/index.mjs", |
| 15 | + "require": "./dist/index.cjs", |
| 16 | + "default": "./dist/index.mjs" |
| 17 | + }, |
| 18 | + "./package.json": "./package.json" |
| 19 | + }, |
| 20 | + "sideEffects": false, |
| 21 | + "repository": { |
| 22 | + "type": "git", |
| 23 | + "url": "https://github.com/openapi-ts/openapi-typescript", |
| 24 | + "directory": "packages/swr-openapi" |
| 25 | + }, |
| 26 | + "keywords": [ |
| 27 | + "swr", |
| 28 | + "openapi", |
| 29 | + "rest", |
| 30 | + "generator", |
| 31 | + "client", |
| 32 | + "fetch" |
| 33 | + ], |
| 34 | + "funding": { |
| 35 | + "type": "buymeacoffee", |
| 36 | + "url": "https://buymeacoffee.com/htunnicliff" |
| 37 | + }, |
| 38 | + "bugs": { |
| 39 | + "url": "https://github.com/openapi-ts/openapi-typescript/issues" |
| 40 | + }, |
| 41 | + "files": [ |
| 42 | + "dist", |
| 43 | + "src", |
| 44 | + "!src/__test__", |
| 45 | + "LICENSE", |
| 46 | + "README.md" |
| 47 | + ], |
| 48 | + "scripts": { |
| 49 | + "build": "unbuild", |
| 50 | + "dev": "vitest --typecheck", |
| 51 | + "format": "biome format . --write", |
| 52 | + "lint": "pnpm run lint:js && pnpm run lint:ts", |
| 53 | + "lint:js": "biome check .", |
| 54 | + "lint:ts": "tsc --noEmit", |
| 55 | + "prepack": "pnpm run build", |
| 56 | + "test": "pnpm run test:js && pnpm run test:exports", |
| 57 | + "test:js": "vitest run --typecheck", |
| 58 | + "test:exports": "pnpm run build && attw --pack .", |
| 59 | + "prepublish": "pnpm run build", |
| 60 | + "version": "pnpm run build" |
| 61 | + }, |
| 62 | + "peerDependencies": { |
| 63 | + "openapi-fetch": "workspace:*", |
| 64 | + "openapi-typescript": "workspace:*", |
| 65 | + "react": "18 || 19", |
| 66 | + "swr": "2", |
| 67 | + "typescript": "^5.x" |
| 68 | + }, |
| 69 | + "peerDependenciesMeta": { |
| 70 | + "openapi-typescript": { |
| 71 | + "optional": true |
| 72 | + } |
| 73 | + }, |
| 74 | + "dependencies": { |
| 75 | + "openapi-typescript-helpers": "workspace:^", |
| 76 | + "type-fest": "^5.0.0" |
| 77 | + }, |
| 78 | + "devDependencies": { |
| 79 | + "@types/lodash": "4.17.20", |
| 80 | + "@types/react": "^18.3.24", |
| 81 | + "husky": "9.1.7", |
| 82 | + "lint-staged": "16.2.3", |
| 83 | + "lodash": "4.17.21", |
| 84 | + "openapi-fetch": "workspace:^", |
| 85 | + "openapi-typescript": "workspace:^", |
| 86 | + "react": "18.3.1", |
| 87 | + "swr": "2.3.6", |
| 88 | + "typescript": "5.9.3" |
| 89 | + } |
| 90 | +} |
0 commit comments