-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.11 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "foca-openapi",
"version": "1.3.0",
"description": "根据openapi文档生成请求客户端",
"scripts": {
"test": "vitest",
"generate": "aomex openapi-yaml && aomex openapi-json",
"build": "tsup && sh scripts/build-success.sh",
"prepare": "husky",
"prepublishOnly": "pnpm build",
"deploy:main": "sh scripts/develop-deploy-main.sh",
"sync:main": "sh scripts/develop-sync-main.sh"
},
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
},
"./adapters/fetch": {
"types": "./adapters/fetch.d.ts",
"import": "./adapters/esm/fetch.js",
"require": "./adapters/fetch.js"
},
"./adapters/axios": {
"types": "./adapters/axios.d.ts",
"import": "./adapters/esm/axios.js",
"require": "./adapters/axios.js"
},
"./adapters/taro": {
"types": "./adapters/taro.d.ts",
"import": "./adapters/esm/taro.js",
"require": "./adapters/taro.js"
},
"./adapters/uniapp": {
"types": "./adapters/uniapp.d.ts",
"import": "./adapters/esm/uniapp.js",
"require": "./adapters/uniapp.js"
},
"./package.json": "./package.json"
},
"bin": {
"openapi": "dist/bin.mjs"
},
"type": "module",
"publishConfig": {
"type": "commonjs",
"access": "public"
},
"files": [
"adapters",
"dist",
"LICENSE",
"package.json",
"README.md",
"CHANGELOG.md"
],
"keywords": [
"openapi",
"openapi-client",
"openapi-typescript",
"openapi-fetch",
"openapi-axios",
"openapi-adapter"
],
"repository": "git@github.com:foca-js/foca-openapi.git",
"homepage": "https://github.com/foca-js/foca-openapi",
"license": "MIT",
"volta": {
"node": "20.13.0",
"pnpm": "9.5.0"
},
"packageManager": "pnpm@9.5.0",
"engines": {
"node": "^18.19 || ^20.6 || >=22"
},
"peerDependencies": {
"typescript": ">=5.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"dependencies": {
"listr2": "^8.2.3",
"lodash-es": "^4.17.21",
"minimist": "^1.2.8",
"object-to-formdata": "^4.5.1",
"openapi-types": "^12.1.3",
"prettier": "^3.2.5",
"query-string": "^9.0.0",
"tsx": "^4.16.2",
"yaml": "^2.4.5",
"yoctocolors": "^2.1.1"
},
"devDependencies": {
"@aomex/console": "^3.4.0",
"@aomex/core": "^3.4.0",
"@aomex/openapi": "^3.4.0",
"@aomex/web": "^3.4.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@dcloudio/types": "^3.4.12",
"@release-it/conventional-changelog": "^8.0.1",
"@tarojs/taro": "^3.6.34",
"@types/lodash-es": "^4.17.12",
"@types/minimist": "^1.2.5",
"@types/node": "^20.14.10",
"@types/qs": "^6.9.15",
"@vitest/coverage-v8": "^2.0.3",
"axios": "^1.7.7",
"foca-axios": "^4.1.1",
"husky": "^9.0.11",
"only-allow": "^1.2.1",
"release-it": "^17.6.0",
"tsup": "^8.1.0",
"typescript": "^5.5.3",
"vitest": "^2.0.3"
}
}