-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.49 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.49 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "swr-openapi",
"description": "Generate SWR hooks from OpenAPI schemas",
"version": "5.6.0",
"author": {
"name": "Hunter Tunnicliff",
"email": "hunter@tunnicliff.co"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/htunnicliff/swr-openapi.git"
},
"keywords": [
"swr",
"openapi",
"rest",
"generator",
"client",
"fetch"
],
"funding": {
"type": "buymeacoffee",
"url": "https://buymeacoffee.com/htunnicliff"
},
"bugs": {
"url": "https://github.com/htunnicliff/swr-openapi/issues"
},
"files": [
"dist",
"src",
"!src/__test__",
"LICENSE",
"README.md"
],
"scripts": {
"build": "unbuild",
"dev": "vitest --typecheck",
"format": "prettier --write .",
"lint": "pnpm run '/^lint:/'",
"lint:js": "oxlint --type-aware --quiet",
"lint:ts": "tsc --noEmit",
"lint:format": "prettier --check .",
"prepack": "pnpm run build",
"test": "pnpm run '/^test:/'",
"test:js": "vitest run --typecheck",
"test:exports": "pnpm run build && attw --pack .",
"prepublish": "pnpm run build",
"version": "pnpm run build",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"peerDependencies": {
"openapi-fetch": ">=0.15",
"openapi-typescript": "7",
"react": ">=18",
"swr": "2",
"typescript": "5"
},
"peerDependenciesMeta": {
"openapi-typescript": {
"optional": true
}
},
"dependencies": {
"openapi-typescript-helpers": "^0.0.15",
"type-fest": "^5.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.3",
"@types/lodash": "4.17.24",
"@types/react": "18.3.30",
"lodash": "4.18.1",
"openapi-fetch": "0.17.0",
"openapi-typescript": "7.13.0",
"oxlint": "1.68.0",
"oxlint-tsgolint": "0.23.0",
"prettier": "3.8.3",
"react": "18.3.1",
"swr": "2.4.1",
"typescript": "5.9.3",
"unbuild": "3.6.1",
"vitepress": "1.6.4",
"vitest": "4.1.8"
},
"prettier": {},
"packageManager": "pnpm@10.34.1+sha512.b58fbde6dca66a929538021581f648b4570b6ca19b18e7cbd7f2c07a7b24454155388dacdf08f2af3678e88a6d1fe04f9d609df24bf51735a060ea041b374ab7"
}