-
-
Notifications
You must be signed in to change notification settings - Fork 528
/
Copy pathpackage.json
88 lines (88 loc) · 2.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "swr-openapi",
"description": "Generate SWR hooks from OpenAPI schemas",
"version": "5.1.2",
"author": {
"name": "Hunter Tunnicliff",
"email": "[email protected]"
},
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"exports": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/openapi-ts/openapi-typescript",
"directory": "packages/swr-openapi"
},
"keywords": [
"swr",
"openapi",
"rest",
"generator",
"client",
"fetch"
],
"funding": {
"type": "buymeacoffee",
"url": "https://buymeacoffee.com/htunnicliff"
},
"bugs": {
"url": "https://github.com/openapi-ts/openapi-typescript/issues"
},
"files": [
"dist",
"src",
"!src/__test__",
"LICENSE",
"README.md"
],
"scripts": {
"build": "pnpm run build:clean && pnpm run build:esm",
"build:clean": "del-cli dist",
"build:esm": "tsc -p tsconfig.build.json",
"dev": "vitest --typecheck",
"format": "biome format . --write",
"lint": "biome check .",
"test": "pnpm run --sequential \"/^test:/\"",
"test:js": "vitest run --typecheck",
"test:ts": "tsc --noEmit",
"test:exports": "pnpm run build && attw --pack . --ignore-rules=cjs-resolves-to-esm",
"prepublish": "pnpm run build",
"version": "pnpm run build"
},
"peerDependencies": {
"openapi-fetch": "0.x",
"openapi-typescript": "7.x",
"react": "18 || 19",
"swr": "2",
"typescript": "^5.x"
},
"peerDependenciesMeta": {
"openapi-typescript": {
"optional": true
}
},
"dependencies": {
"openapi-typescript-helpers": "workspace:^",
"type-fest": "^4.31.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@types/lodash": "^4.17.14",
"@types/react": "^18.3.18",
"del-cli": "^5.1.0",
"husky": "^9.1.7",
"lint-staged": "15.2.10",
"lodash": "^4.17.21",
"openapi-fetch": "workspace:^",
"openapi-typescript": "workspace:^",
"react": "18.3.1",
"swr": "2.2.5",
"typescript": "^5.7.2"
}
}