-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
194 lines (194 loc) · 5.25 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "rdme",
"version": "9.0.0-next.32",
"description": "ReadMe's official CLI and GitHub Action.",
"license": "MIT",
"author": "ReadMe <[email protected]> (https://readme.com)",
"engines": {
"node": "^18.20.0 || >=20.10.0"
},
"bin": {
"rdme": "bin/run.js"
},
"files": [
"/bin/run*",
"/dist",
"/oclif.manifest.json"
],
"keywords": [
"api",
"apidoc",
"apis",
"documentation",
"microservice",
"oai",
"oas",
"openapi",
"openapi document",
"openapi initiative",
"openapi spec",
"openapi specification",
"postman",
"readme",
"swagger"
],
"repository": {
"type": "git",
"url": "git+https://github.com/readmeio/rdme.git"
},
"bugs": {
"url": "https://github.com/readmeio/rdme/issues"
},
"type": "module",
"dependencies": {
"@actions/core": "^1.6.0",
"@oclif/core": "^4.0.29",
"@oclif/plugin-autocomplete": "^3.2.6",
"@oclif/plugin-help": "^6.2.15",
"@oclif/plugin-not-found": "^3.2.28",
"@oclif/plugin-warn-if-update-available": "^3.1.19",
"chalk": "^5.3.0",
"ci-info": "^4.0.0",
"configstore": "^7.0.0",
"debug": "^4.3.3",
"gray-matter": "^4.0.1",
"ignore": "^6.0.2",
"mime-types": "^2.1.35",
"oas": "^25.0.0",
"oas-normalize": "^11.1.2",
"open": "^10.0.2",
"ora": "^6.3.1",
"parse-link-header": "^2.0.0",
"pluralize": "^8.0.0",
"prompts": "^2.4.2",
"semver": "^7.5.3",
"simple-git": "^3.19.1",
"string-argv": "^0.3.2",
"table": "^6.8.1",
"tmp-promise": "^3.0.2",
"toposort": "^2.0.2",
"undici": "^5.28.4",
"validator": "^13.7.0"
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@oclif/test": "^4.1.0",
"@readme/better-ajv-errors": "^1.5.0",
"@readme/eslint-config": "^14.0.0",
"@readme/oas-examples": "^5.10.0",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/configstore": "^6.0.0",
"@types/debug": "^4.1.7",
"@types/js-yaml": "^4.0.5",
"@types/mime-types": "^2.1.1",
"@types/parse-link-header": "^2.0.0",
"@types/pluralize": "^0.0.33",
"@types/prompts": "^2.4.2",
"@types/semver": "^7.3.12",
"@types/toposort": "^2.0.7",
"@types/validator": "^13.7.6",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/expect": "^2.0.5",
"ajv": "^8.11.0",
"alex": "^11.0.0",
"eslint": "^8.47.0",
"husky": "^9.0.10",
"js-yaml": "^4.1.0",
"knip": "^5.0.2",
"nock": "^14.0.0-beta.7",
"oclif": "^4.15.12",
"openapi-types": "^12.1.3",
"prettier": "^3.0.2",
"rollup": "^4.3.0",
"tsx": "^4.19.2",
"type-fest": "^4.3.1",
"typescript": "^5.1.6",
"vitest": "^2.0.5"
},
"scripts": {
"build": "tsc",
"build:docs": "oclif readme --multi --output-dir documentation/commands --no-aliases",
"build:gha": "npm run build && rollup --config",
"build:gha:prod": "npm run build:gha -- --environment PRODUCTION_BUILD",
"lint": "alex . && knip && npm run lint:ts && npm run prettier && npm run schemas:check",
"lint:ts": "eslint . --ext .js,.ts",
"prebuild": "rm -rf dist/ && rm -f src/package.json && ln package.json src/package.json",
"prepack": "npm run build",
"prepare": "husky",
"pretest": "npm run build",
"prettier": "prettier --check .",
"schemas:check": "./bin/json-schema-store.js",
"schemas:write": "./bin/json-schema-store.js --update",
"test": "vitest run --coverage",
"version": "npm run build:gha:prod && oclif manifest && npm run build:docs"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
0,
"always",
"Infinity"
],
"footer-max-line-length": [
0,
"always",
"Infinity"
],
"scope-case": [
2,
"never",
"upper-case"
]
}
},
"oclif": {
"bin": "rdme",
"dirname": "rdme",
"commands": {
"strategy": "explicit",
"target": "./dist/index.js",
"identifier": "COMMANDS"
},
"topicSeparator": ":",
"helpClass": "./dist/lib/help",
"hooks": {
"prerun": {
"target": "./dist/index.js",
"identifier": "prerun"
},
"createGHA": {
"target": "./dist/index.js",
"identifier": "createGHA"
}
},
"plugins": [
"@oclif/plugin-autocomplete",
"@oclif/plugin-help",
"@oclif/plugin-not-found",
"@oclif/plugin-warn-if-update-available"
],
"topics": {
"categories": {
"description": "List or create categories in your ReadMe developer hub."
},
"docs": {
"description": "Sync or prune Guides pages in your ReadMe developer hub."
},
"openapi": {
"description": "Manage your API definition (e.g., syncing, validation, analysis, conversion, etc.). Supports OpenAPI, Swagger, and Postman collections, in either JSON or YAML formats."
},
"versions": {
"description": "Manage your documentation versions."
}
}
},
"prettier": "@readme/eslint-config/prettier"
}