-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.02 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.02 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
82
83
84
{
"name": "api-farmer",
"version": "0.1.5",
"description": "API module generation tool based on Openapi3/Swagger2.",
"keywords": [
"api generator",
"cli",
"json schema",
"openapi",
"swagger"
],
"bugs": {
"url": "https://github.com/varletjs/api-farmer/issues"
},
"license": "MIT",
"author": "haoziqaq <357229046@qq.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/varletjs/api-farmer.git"
},
"bin": {
"af": "dist/cli.mjs"
},
"files": [
"dist",
"templates"
],
"type": "module",
"sideEffects": false,
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
}
},
"scripts": {
"build": "vp pack",
"clean": "rt clean",
"format": "vp fmt",
"gen": "rimraf ./fixtures/axios/src/apis/generated ./fixtures/axle/src/apis/generated && pnpm --dir ./fixtures/axios gen & pnpm --dir ./fixtures/axle gen",
"lint": "vp lint --fix",
"prepare": "vp config --hooks-dir .vite-hooks && rt hook",
"release": "pnpm build && rt release"
},
"dependencies": {
"@types/pluralize": "^0.0.33",
"commander": "^13.0.0",
"ejs": "^3.1.10",
"fs-extra": "^11.2.0",
"openapi-typescript": "^7.5.2",
"pluralize": "^8.0.0",
"prettier": "^3.4.2",
"rattail": "^2.0.3",
"rslog": "^1.2.3",
"swagger2openapi": "^7.0.8",
"unconfig": "^7.5.0",
"yaml": "^2.7.0"
},
"devDependencies": {
"@types/ejs": "^3.1.5",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.8.1",
"@types/swagger2openapi": "^7.0.4",
"rimraf": "^6.0.1",
"typescript": "5.3.3",
"vite-plus": "0.1.18"
},
"peerDependencies": {
"typescript": "^5.3.3"
},
"engines": {
"pnpm": ">=10.0.0"
},
"packageManager": "pnpm@10.0.0",
"pnpm": {
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.18",
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.18"
}
}
}