Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 1 | { |
| 2 | "name": "yang-cord", |
Peter K. Lee | d02309b | 2016-07-28 04:20:35 -0700 | [diff] [blame] | 3 | "version": "1.0.1", |
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": { |
| 32 | "node-uuid": "^1.4.7", |
| 33 | "superagent": "^2.0.0", |
Peter K. Lee | d02309b | 2016-07-28 04:20:35 -0700 | [diff] [blame] | 34 | "yang-express": "^0.2.3", |
Peter K. Lee | 4302f47 | 2016-07-28 03:51:39 -0700 | [diff] [blame] | 35 | "yang-js": "^0.14.22" |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 36 | }, |
| 37 | "optionalDependencies": { |
| 38 | "corenova": "^1.0.0" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 39 | }, |
| 40 | "devDependencies": { |
| 41 | "coffee-script": ">=1.7.0", |
| 42 | "config": "^1.19.0", |
| 43 | "mocha": "~2.0.1", |
| 44 | "rimraf": "^2.5.2", |
| 45 | "should": "~3.1.3" |
| 46 | }, |
Peter Lee | df26beb | 2016-07-28 23:42:27 -0700 | [diff] [blame^] | 47 | "main": "./lib/cord-core.js", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 48 | "scripts": { |
| 49 | "clean": "rimraf dist/* lib/*", |
| 50 | "prebuild": "npm run clean -s && mkdir -p dist", |
| 51 | "build:src": "coffee -o lib -c src", |
| 52 | "build": "npm run build:src", |
| 53 | "prepublish": "npm run build", |
| 54 | "pretest": "npm run build", |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 55 | "test": "mocha", |
Peter Lee | df26beb | 2016-07-28 23:42:27 -0700 | [diff] [blame^] | 56 | "start": "node lib/api/server.js" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 57 | } |
| 58 | } |