-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 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
28
29
{
"name": "swagger-redoc-live-reload-example",
"version": "1.0.0",
"description": "OpenAPI 2.0 documentation, with ReDoc 2, YAML fragments and live reloading",
"private": false,
"repository": {
"type": "git",
"url": "[email protected]:sraiteri/redoc-live-reload.git"
},
"author": "Shane Raiteri",
"license": "UNLICENSED",
"dependencies": {},
"devDependencies": {
"copyfiles": "^1.2.0",
"json-refs": "^3.0.3",
"live-server": "^1.2.0",
"redoc": "^2.0.0-alpha.12",
"watch": "^1.0.2",
"yarn": "^1.3.2"
},
"scripts": {
"build": "npm run build:generate-index-yaml & npm run build:copy-redoc-standalone",
"build:copy-redoc-standalone": "copyfiles -f node_modules/redoc/bundles/redoc.standalone.js public/",
"build:generate-index-yaml": "node ./bin/resolve.js",
"start": "npm run build && npm run run-server",
"run-server": "node ./node_modules/live-server/live-server.js --watch=public/ --port=8005 --open=public/index.html",
"watch-docs": "watch \"npm run build:generate-index-yaml\" docs/"
}
}