-
-
Notifications
You must be signed in to change notification settings - Fork 529
/
Copy pathpackage.json
81 lines (81 loc) · 2.32 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.0.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.pages.dev",
"repository": {
"type": "git",
"url": "https://github.com/drwpow/openapi-typescript",
"directory": "packages/openapi-typescript"
},
"keywords": [
"swagger",
"typescript",
"ts",
"dts",
"openapi",
"codegen",
"generation",
"openapi 3",
"node"
],
"bugs": {
"url": "https://github.com/drwpow/openapi-typescript/issues"
},
"scripts": {
"build": "run-s -s build:*",
"build:clean": "del 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 --footer:js=\"module.exports = module.exports.default;\"",
"dev": "tsc -p tsconfig.build.json --watch",
"download:schemas": "vite-node ./scripts/download-schemas.ts",
"format": "prettier --write \"src/**/*\"",
"lint": "run-p -s lint:*",
"lint:js": "eslint \"{src,test}/**/*.{js,ts}\"",
"lint:prettier": "prettier --check \"src/**/*\"",
"prepare": "pnpm run build",
"test": "run-p -s test:*",
"test:examples": "tsc -p tsconfig.examples.json --noEmit",
"test:js": "vitest run",
"test:ts": "tsc --noEmit",
"update:examples": "pnpm run download:schemas && vite-node ./scripts/update-examples.ts",
"prepublish": "pnpm run build",
"version": "pnpm run build"
},
"dependencies": {
"@redocly/openapi-core": "^1.2.0",
"ansi-colors": "^4.1.3",
"supports-color": "^9.4.0",
"typescript": "^5.2.2",
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@types/degit": "^2.8.4",
"@types/js-yaml": "^4.0.6",
"@types/node": "^20.8.0",
"degit": "^2.8.4",
"del-cli": "^5.1.0",
"esbuild": "^0.19.4",
"execa": "^7.2.0",
"vite": "^4.4.9",
"vite-node": "^0.34.6",
"vitest": "^0.34.6"
}
}