-
-
Notifications
You must be signed in to change notification settings - Fork 529
/
Copy pathpackage.json
81 lines (81 loc) · 2.25 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
{
"name": "openapi-typescript",
"description": "Convert OpenAPI 3.0 & 3.1 schemas to TypeScript",
"version": "7.5.0",
"author": {
"name": "Drew Powers",
"email": "[email protected]"
},
"license": "MIT",
"bin": {
"openapi-typescript": "bin/cli.js"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
},
"homepage": "https://openapi-ts.dev",
"repository": {
"type": "git",
"url": "https://github.com/openapi-ts/openapi-typescript",
"directory": "packages/openapi-typescript"
},
"keywords": [
"swagger",
"typescript",
"ts",
"dts",
"openapi",
"codegen",
"generation",
"openapi 3",
"node"
],
"bugs": {
"url": "https://github.com/openapi-ts/openapi-typescript/issues"
},
"scripts": {
"build": "pnpm run build:clean && pnpm run build:esm && pnpm run build:cjs",
"build:clean": "del-cli dist",
"build:esm": "tsc -p tsconfig.build.json",
"build:cjs": "esbuild --bundle --platform=node --target=es2019 --outfile=dist/index.cjs --external:@redocly/ajv --external:@redocly/openapi-core --external:typescript src/index.ts",
"dev": "tsc -p tsconfig.build.json --watch",
"download:schemas": "vite-node ./scripts/download-schemas.ts",
"format": "biome format . --write",
"lint": "biome check .",
"test": "pnpm run \"/^test:/\"",
"test:examples": "tsc -p tsconfig.examples.json --noEmit",
"test:js": "vitest run",
"test:ts": "tsc --noEmit",
"update:examples": "pnpm run build && pnpm run download:schemas && vite-node ./scripts/update-examples.ts",
"prepublish": "pnpm run build",
"version": "pnpm run build"
},
"peerDependencies": {
"typescript": "^5.x"
},
"dependencies": {
"@redocly/openapi-core": "^1.27.0",
"ansi-colors": "^4.1.3",
"change-case": "^5.4.4",
"parse-json": "^8.1.0",
"supports-color": "^9.4.0",
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@types/degit": "^2.8.6",
"@types/js-yaml": "^4.0.9",
"degit": "^2.8.4",
"del-cli": "^5.1.0",
"esbuild": "^0.24.2",
"execa": "^8.0.1",
"strip-ansi": "^7.1.0",
"typescript": "^5.7.2",
"vite-node": "^2.1.8"
}
}