generated from antfu/starter-ts
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.24 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@jawilx/gen-api",
"type": "module",
"version": "2.1.1",
"packageManager": "[email protected]",
"description": "A modern cli tool that auto generate typescript api code from swagger 2 and openapi 3",
"author": "JawilX <[email protected]>",
"license": "MIT",
"funding": "https://github.com/sponsors/JawilX",
"homepage": "https://github.com/JawilX/gen-api#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/JawilX/gen-api.git"
},
"bugs": "https://github.com/JawilX/gen-api/issues",
"keywords": [
"api",
"typescript",
"generator",
"swagger",
"openapi"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"bin": {
"gen-api": "bin/gen-api.mjs"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/cli.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"dependencies": {
"@antfu/utils": "^0.7.7",
"axios": "^1.6.5",
"execa": "^8.0.1",
"picocolors": "^1.0.0",
"pinyin-pro": "^3.18.6",
"swagger2openapi": "^7.0.8",
"unconfig": "^0.3.11",
"yargs": "^17.7.2"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.1",
"@antfu/ni": "^0.21.12",
"@types/node": "^20.10.7",
"@types/swagger2openapi": "^7.0.4",
"@types/yargs": "^17.0.32",
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"esno": "^4.0.0",
"lint-staged": "^15.2.0",
"pnpm": "^8.14.0",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^5.0.11",
"vitest": "^1.1.3"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}