-
Notifications
You must be signed in to change notification settings - Fork 195
/
package.json
18 lines (18 loc) · 3.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "kitsu-api-docs",
"version": "1.0.0",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "openapi bundle api/kitsu.yml --output kitsu.yml",
"lint": "openapi lint kitsu.yml --skip-rule operation-operationId",
"serve": "redoc-cli serve kitsu.yml --options.hideLoading=false --options.pathInMiddlePanel=false --options.nativeScrollbars=true --options.expandSingleSchemaField=true --options.requiredPropsFirst=true --options.sortPropsAlphabetically=true --options.hideSingleRequestSampleTab=true --options.theme.typography.links.color=#f75239 --options.theme.colors.primary.main=#464646 --options.theme.colors.success.main=#19b698 --options.theme.colors.warning.main=#f39c12 --options.theme.colors.error.main=#ff4136 --options.theme.colors.text.primary=#464646 --options.theme.rightPanel.backgroundColor=#332532 --options.theme.rightPanel.textColor=#edf0f1 --options.theme.sidebar.backgroundColor=#332532 --options.theme.sidebar.textColor=#edf0f1 --options.theme.sidebar.level1Items.textTransform=capitalize --options.theme.typography.fontSize=1rem --options.theme.typography.code.fontSize=1rem --options.theme.typography.headings.lineHeight=1.1 --options.theme.typography.headings.fontWeight=700 --options.theme.schema.arrow.size=1rem --options.theme.typography.lineHeight=1.5rem --options.theme.colors.border.dark=#332532 --options.theme.colors.border.light=#edf0f1 --options.jsonSampleExpandLevel=2 --options.simpleOneOfTypeLabel=true --options.expandResponses=\"200,201\" --options.theme.schema.labelsTextSize=0.9rem",
"serve:bundle": "redoc-cli bundle kitsu.yml --output docs/index.html --options.hideLoading=false --options.pathInMiddlePanel=false --options.nativeScrollbars=true --options.expandSingleSchemaField=true --options.requiredPropsFirst=true --options.sortPropsAlphabetically=true --options.hideSingleRequestSampleTab=true --options.theme.typography.links.color=#f75239 --options.theme.colors.primary.main=#464646 --options.theme.colors.success.main=#19b698 --options.theme.colors.warning.main=#f39c12 --options.theme.colors.error.main=#ff4136 --options.theme.colors.text.primary=#464646 --options.theme.rightPanel.backgroundColor=#332532 --options.theme.rightPanel.textColor=#edf0f1 --options.theme.sidebar.backgroundColor=#332532 --options.theme.sidebar.textColor=#edf0f1 --options.theme.sidebar.level1Items.textTransform=capitalize --options.theme.typography.fontSize=1rem --options.theme.typography.code.fontSize=1rem --options.theme.typography.headings.lineHeight=1.1 --options.theme.typography.headings.fontWeight=700 --options.theme.schema.arrow.size=1rem --options.theme.typography.lineHeight=1.5rem --options.theme.colors.border.dark=#332532 --options.theme.colors.border.light=#edf0f1 --options.jsonSampleExpandLevel=2 --options.simpleOneOfTypeLabel=true --options.expandResponses=\"200,201\" --options.theme.schema.labelsTextSize=0.9rem",
"start": "yarn build && yarn lint && yarn serve",
"start:bundle": "yarn build && yarn lint && yarn serve:bundle"
},
"dependencies": {
"@redocly/openapi-cli": "1.0.0-beta.79",
"redoc-cli": "0.13.2"
}
}