forked from corenova/yang-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "yang-swagger",
"version": "1.2.3",
"description": "YANG model-driven swagger/openapi transform",
"keywords": [
"yang",
"transform",
"swagger",
"openapi",
"yang2swagger",
"model",
"schema",
"adaptive",
"validate",
"object",
"rfc6020"
],
"author": "Peter Lee <peter@corenova.com>",
"homepage": "https://github.com/corenova/yang-swagger",
"license": "Apache-2.0",
"repository": "corenova/yang-swagger",
"main": "./yang-openapi.js",
"bin": {
"yang-swagger": "./bin/yang-swagger"
},
"preferGlobal": true,
"models": {
"ietf-inet-types": "yang-js",
"ietf-yang-types": "yang-js",
"yang-meta-types": "yang-js",
"yang-json-schema": "./yang-json-schema.yang",
"yang-openapi": "./yang-openapi.yang"
},
"dependencies": {
"config": "^1.24.0",
"debug": "^2.3.2",
"js-yaml": "^3.6.1",
"minimist": "^1.2.0",
"traverse": "^0.6.6",
"yang-js": "^0.16.18"
},
"devDependencies": {
"coffee-script": ">=1.7.0",
"mocha": "~2.0.1",
"rimraf": "^2.5.2",
"should": "~3.1.3"
},
"scripts": {
"clean": "rimraf dist/* lib/*",
"prebuild": "npm run clean -s && mkdir -p dist",
"build:src": "coffee -c yang-openapi.coffee",
"build:api": "bin/yang-swagger -f yaml -o swagger.yaml yang-openapi",
"build": "npm run build:src && npm run build:api",
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "mocha"
}
}