Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 1 | { |
| 2 | "name": "yang-cord", |
Peter Lee | 1c6e24c | 2016-07-29 00:13:25 -0700 | [diff] [blame] | 3 | "version": "1.0.4", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 4 | "description": "YANG model-driven CORD", |
| 5 | "author": "Peter K. Lee <peter@corenova.com>", |
| 6 | "license": "Apache-2.0", |
| 7 | "homepage": "http://wiki.opencord.org/", |
| 8 | "repository": "corenova/yang-cord", |
| 9 | "keywords": [ |
| 10 | "cord", |
| 11 | "opencord", |
| 12 | "onlab", |
| 13 | "xos", |
| 14 | "onos", |
| 15 | "subscriber", |
| 16 | "tenant", |
| 17 | "device", |
| 18 | "yangjs", |
| 19 | "express", |
| 20 | "service" |
| 21 | ], |
| 22 | "models": { |
| 23 | "ietf-yang-types": "yang-js", |
| 24 | "ietf-inet-types": "yang-js", |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 25 | "corenova-node": "corenova", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 26 | "xos-core": "./schema/xos-core.yang", |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 27 | "cord-core": "./lib/cord-core.js", |
Peter Lee | df26beb | 2016-07-28 23:42:27 -0700 | [diff] [blame] | 28 | "cord-device": "./lib/cord-device.js", |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 29 | "cord-subscriber": "./lib/cord-subscriber.js" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 30 | }, |
| 31 | "dependencies": { |
Matteo | 78ff07d | 2016-08-01 09:57:16 -0700 | [diff] [blame^] | 32 | "minimist": "^1.2.0", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 33 | "node-uuid": "^1.4.7", |
| 34 | "superagent": "^2.0.0", |
Peter K. Lee | d02309b | 2016-07-28 04:20:35 -0700 | [diff] [blame] | 35 | "yang-express": "^0.2.3", |
Peter K. Lee | 4302f47 | 2016-07-28 03:51:39 -0700 | [diff] [blame] | 36 | "yang-js": "^0.14.22" |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 37 | }, |
| 38 | "optionalDependencies": { |
| 39 | "corenova": "^1.0.0" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 40 | }, |
| 41 | "devDependencies": { |
| 42 | "coffee-script": ">=1.7.0", |
| 43 | "config": "^1.19.0", |
| 44 | "mocha": "~2.0.1", |
| 45 | "rimraf": "^2.5.2", |
| 46 | "should": "~3.1.3" |
| 47 | }, |
Peter Lee | df26beb | 2016-07-28 23:42:27 -0700 | [diff] [blame] | 48 | "main": "./lib/cord-core.js", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 49 | "scripts": { |
| 50 | "clean": "rimraf dist/* lib/*", |
| 51 | "prebuild": "npm run clean -s && mkdir -p dist", |
| 52 | "build:src": "coffee -o lib -c src", |
| 53 | "build": "npm run build:src", |
| 54 | "prepublish": "npm run build", |
| 55 | "pretest": "npm run build", |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 56 | "test": "mocha", |
Matteo | 78ff07d | 2016-08-01 09:57:16 -0700 | [diff] [blame^] | 57 | "prestart": "npm run build", |
Peter Lee | df26beb | 2016-07-28 23:42:27 -0700 | [diff] [blame] | 58 | "start": "node lib/api/server.js" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 59 | } |
| 60 | } |