forked from openapi-ts/openapi-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.17 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.17 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
{
"name": "openapi-fetch",
"description": "Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.",
"version": "0.14.0",
"author": {
"name": "Drew Powers",
"email": "drew@pow.rs"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
},
"./*": "./*"
},
"homepage": "https://openapi-ts.dev",
"repository": {
"type": "git",
"url": "https://github.com/openapi-ts/openapi-typescript",
"directory": "packages/openapi-fetch"
},
"bugs": {
"url": "https://github.com/openapi-ts/openapi-typescript/issues"
},
"keywords": [
"openapi",
"swagger",
"rest",
"api",
"oapi_3",
"oapi_3_1",
"typescript",
"fetch",
"react",
"vue",
"svelte"
],
"scripts": {
"build": "unbuild",
"format": "biome format . --write",
"lint": "pnpm run lint:js && pnpm run lint:ts && pnpm run lint:ts-no-strict",
"lint:js": "biome check .",
"lint:ts": "tsc --noEmit",
"lint:ts-no-strict": "tsc --noEmit -p test/no-strict-null-checks/tsconfig.json",
"generate-types": "openapi-typescript -c test/redocly.yaml",
"prepack": "pnpm run build",
"pretest": "pnpm run generate-types",
"test": "pnpm run test:js && pnpm run test:exports",
"test:js": "vitest run",
"test:exports": "pnpm run build && attw --pack .",
"test-e2e": "playwright test",
"bench:js": "vitest bench",
"e2e-vite-build": "vite build test/e2e/app",
"e2e-vite-start": "vite preview test/e2e/app",
"version": "pnpm run prepare && pnpm run build"
},
"dependencies": {
"openapi-typescript-helpers": "workspace:^"
},
"devDependencies": {
"axios": "^1.9.0",
"execa": "^9.5.2",
"express": "^5.0.0",
"feature-fetch": "^0.0.43",
"node-forge": "^1.3.1",
"openapi-typescript": "workspace:^",
"openapi-typescript-codegen": "^0.29.0",
"openapi-typescript-fetch": "^2.1.0",
"superagent": "^10.2.0",
"typescript": "^5.8.3",
"undici": "^7.0.0",
"vite": "^6.3.4"
}
}