-
-
Notifications
You must be signed in to change notification settings - Fork 897
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.69 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.69 KB
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
{
"description": "Script utils for nelmio/api-doc-bundle UI",
"license": "MIT",
"dependencies": {
"@stoplight/elements": "9.0.15",
"redoc": "2.5.2",
"swagger-ui-dist": "5.31.0"
},
"scripts": {
"swagger": "yarn run swagger:bundle && yarn run swagger:bundle:map && yarn run swagger:standalone && yarn run swagger:standalone:map && yarn run swagger:css && yarn run swagger:css:map",
"swagger:bundle": "cp node_modules/swagger-ui-dist/swagger-ui-bundle.js $npm_package_config_destination_swagger",
"swagger:bundle:map": "cp node_modules/swagger-ui-dist/swagger-ui-bundle.js.map $npm_package_config_destination_swagger",
"swagger:standalone": "cp node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js $npm_package_config_destination_swagger",
"swagger:standalone:map": "cp node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js.map $npm_package_config_destination_swagger",
"swagger:css": "cp node_modules/swagger-ui-dist/swagger-ui.css $npm_package_config_destination_swagger",
"swagger:css:map": "cp node_modules/swagger-ui-dist/swagger-ui.css.map $npm_package_config_destination_swagger",
"redoc": "cp node_modules/redoc/bundles/redoc.standalone.js $npm_package_config_destination_redoc",
"stoplight": "yarn run stoplight:js && yarn run stoplight:css",
"stoplight:js": "cp node_modules/@stoplight/elements/web-components.min.js $npm_package_config_destination_stoplight",
"stoplight:css": "cp node_modules/@stoplight/elements/styles.min.css $npm_package_config_destination_stoplight"
},
"config": {
"destination": {
"swagger": "../public/swagger-ui",
"redoc": "../public/redocly",
"stoplight": "../public/stoplight"
}
}
}