-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
20 lines (20 loc) · 1.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "nlpsandbox-schemas",
"devDependencies": {
"@redocly/openapi-cli": "^1.0.0-beta.52",
"gh-openapi-docs-ts": "^0.3.6",
"ibm-openapi-validator": "^0.46.1",
"openapi-merge-cli": "^1.1.29"
},
"private": true,
"scripts": {
"start": "openapi preview-docs ./openapi/${npm_config_api}/openapi.yaml",
"build": "openapi bundle -o openapi.yaml ./openapi/${npm_config_api}/openapi.yaml",
"build:internal:base": "openapi bundle -o ./openapi/_internal/${npm_config_api}/base-combined.openapi.yaml ./openapi/_internal/${npm_config_api}/base.openapi.yaml",
"lint": "openapi lint ./openapi/${npm_config_api}/openapi.yaml",
"lint:all": "openapi lint openapi/*/openapi.yaml",
"validate": "npm run build --api=${npm_config_api} && lint-openapi --config .validaterc --ruleset .spectral.yaml -v openapi.yaml",
"validate:internal": "lint-openapi --config .validaterc --ruleset .spectral.yaml -v openapi/_internal/${npm_config_api}/openapi.yaml",
"merge:internal": "openapi-merge-cli --config openapi/_internal/${npm_config_api}/openapi-merge.yaml"
}
}