-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 1.4 KB
/
package.json
File metadata and controls
26 lines (26 loc) · 1.4 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
{
"name": "@vality/swag-wallets",
"version": "0.1.3",
"license": "Apache-2.0",
"scripts": {
"start": "redocly preview-docs",
"validate": "redocly lint",
"bundle:wallet:yaml": "npm run bundle:wallet:json -- --yaml -o ./web_deploy/swagger.yaml",
"bundle:wallet:json": "npx swagger-repo bundle --basedir ./api/wallet/spec/ -o ./web_deploy/swagger.json",
"bundle:payres:yaml": "npm run bundle:payres:json -- --yaml -o ./web_deploy/payres/swagger.yaml",
"bundle:payres:json": "npx swagger-repo bundle --basedir ./api/payres/spec/ -o ./web_deploy/payres/swagger.json",
"bundle:wallet": "mkdir -p ./web_deploy && npm run bundle:wallet:yaml && npm run bundle:wallet:json",
"bundle:payres": "mkdir -p ./web_deploy/payres && npm run bundle:payres:yaml && npm run bundle:payres:json",
"build": "npm run bundle:wallet && npm run bundle:payres",
"build-docs": "redocly build-docs -o web_deploy/index.html && redocly build-docs payres -o web_deploy/payres/index.html",
"build-web": "npm run build && npm run build-docs",
"build-ng-lib": "vality-openapi generate ./web_deploy/swagger.json",
"postinstall": "mkdir -p ./scripts && cp -a ./node_modules/@vality/redocly-utils/lib/swagger-plugins ./scripts/plugins"
},
"devDependencies": {
"@redocly/cli": "^1.33.0",
"@vality/openapi-generator-cli": "^3.0.2",
"@vality/redocly-utils": "^0.3.0",
"swagger-repo": "1.5.1"
}
}