-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.45 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
30
31
32
33
34
35
36
37
38
39
{
"name": "api_specs",
"version": "8.1.0",
"description": "On Rewind api specs",
"keywords": [
"onrewind",
"onrewind api",
"swagger to slate",
"openapi example"
],
"dependencies": {
"js-yaml": "3.13.1",
"json-refs": "3.0.15",
"linebyline": "1.3.0",
"lodash": "4.17.19",
"swagger-ui-watcher": "2.1.6",
"widdershins": "3.6.7"
},
"devDependencies": {},
"scripts": {
"openapi:compile": "node compile.js",
"openapi:watch": "node_modules/.bin/swagger-ui-watcher ./openapi/index.yaml",
"slate:init": "cp -r slate/* .tmp && cp CNAME .tmp && node_modules/.bin/widdershins .tmp/openapi.yaml -o .tmp/index.html.md",
"slate:preview": "docker run --rm -p 4567:4567 -v $(pwd)/.tmp:/slate/override_source -v $(pwd)/dist:/slate/build onrewind/slate:latest",
"slate:compile": "docker run --rm -v $(pwd)/.tmp:/slate/override_source -v $(pwd)/dist:/slate/build onrewind/slate:latest sh -c 'cd /slate && cp -r override_source/* source && exec bundle exec middleman build'",
"docker:init": "docker build -t onrewind/slate:latest .",
"dist": "npm run openapi:compile && npm run slate:init && npm run slate:compile"
},
"repository": {
"type": "git",
"url": "git+https://github.com/onrewind/api_specs.git"
},
"author": "dev@onrewind.com",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/onrewind/api_specs/issues"
},
"homepage": "https://github.com/onrewind/api_specs#readme"
}