-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
27 lines (27 loc) · 1.04 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
{
"name": "stability.ai-rest-api",
"version": "1.0.0",
"private": true,
"scripts": {
"docs:merged": "yarn generate && redocly preview-docs -p 3000 ./generated/spec/merged.json",
"docs:v1alpha": "redocly preview-docs -p 3000 main@v1alpha",
"docs:v1beta": "redocly preview-docs -p 3000 main@v1beta",
"docs:v1": "redocly preview-docs -p 3000 main@v1",
"docs": "yarn docs:v1",
"generate:bundle": "redocly bundle --ext json -o ./generated/spec",
"generate:merge": "openapi-merge-cli",
"generate": "yarn generate:bundle && yarn generate:merge",
"lint:merged": "yarn generate && redocly lint ./generated/spec/merged.json",
"lint:v1alpha": "redocly lint main@v1alpha",
"lint:v1beta": "redocly lint main@v1beta",
"lint:v1": "redocly lint main@v1",
"lint": "yarn lint:v1alpha && yarn lint:v1beta && yarn lint:v1 && yarn lint:merged"
},
"devDependencies": {
"@redocly/cli": "^1.0.0-beta.122",
"core-js": "^3.1.4",
"openapi-merge-cli": "^1.3.1",
"react-is": ">=16.8.0",
"webpack": "^5.0.0"
}
}