-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 1.89 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 1.89 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
{
"name": "@doremijs/o2t",
"version": "0.1.10",
"description": "OpenAPI to TypeScript code generator",
"keywords": [
"openapi",
"swagger",
"typescript",
"code generator"
],
"type": "module",
"license": "LGPL-3.0-or-later",
"author": "erguotou <erguotou525@gmail.com>",
"main": "dist/index.js",
"files": [
"bin/o2t.mjs",
"dist"
],
"bin": {
"o2t": "bin/o2t.mjs"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./client": {
"import": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.mjs"
},
"require": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
}
},
"./client/es5": {
"import": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"require": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
}
}
},
"scripts": {
"dev": "bun bin/o2t.ts",
"build": "bun run scripts/build.ts",
"prepublishOnly": "npm run build",
"serve": "hs -f apis -m index -p 7007",
"format": "biome format --write ./src"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"swagger2openapi": "^7.0.8"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@doremijs/biome-config": "^0.1.4",
"@swc/core": "^1.7.40",
"@types/bun": "^1.1.6",
"@types/node": "^20.14.9",
"@types/swagger2openapi": "^7.0.4",
"bun-plugin-dts": "^0.2.3",
"bun-plugin-isolated-decl": "^0.1.0",
"openapi-types": "^12.1.3",
"oxc-transform": "^0.16.3",
"typescript": "^5.5.2"
}
}