/
package.json
55 lines (55 loc) · 1.29 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
{
"name": "swr-openapi",
"version": "3.1.0",
"description": "Generate SWR hooks from OpenAPI schemas",
"license": "MIT",
"repository": "htunnicliff/swr-openapi",
"funding": "https://github.com/sponsors/htunnicliff",
"author": {
"name": "Hunter Tunnicliff"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"README.md"
],
"keywords": [
"swr",
"openapi",
"rest",
"generator",
"client",
"fetch"
],
"scripts": {
"prepublish": "npm run build && npm run types:check && npm run format:check",
"build": "tsup",
"test": "./setup-test-data.sh && tsc --project test/tsconfig.json",
"types:check": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"dependencies": {
"openapi-typescript-helpers": "0.0.7",
"type-fest": "^4.12.0"
},
"devDependencies": {
"@types/node": "20.11.19",
"expect-type": "0.17.3",
"openapi-fetch": "0.9.2",
"openapi-typescript": "6.7.4",
"prettier": "3.2.5",
"swr": "2.2.5",
"tsup": "7.2.0",
"typescript": "5.3.3"
},
"peerDependencies": {
"openapi-fetch": "0.9",
"openapi-typescript": "6",
"swr": "2",
"typescript": "5"
}
}