Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 1 | { |
| 2 | "name": "yang-cord", |
Peter Lee | 191d760 | 2016-08-17 21:06:19 -0700 | [diff] [blame] | 3 | "version": "1.1.3", |
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 | 1a856a0 | 2016-08-19 00:09:33 -0700 | [diff] [blame] | 35 | "yang-express": "^0.3.7", |
| 36 | "yang-js": "^0.15.15" |
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", |
Peter K. Lee | 29a9514 | 2016-08-13 03:25:18 -0700 | [diff] [blame] | 46 | "should": "~3.1.3", |
| 47 | "webpack": "^1.13.1" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 48 | }, |
Peter Lee | df26beb | 2016-07-28 23:42:27 -0700 | [diff] [blame] | 49 | "main": "./lib/cord-core.js", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 50 | "scripts": { |
| 51 | "clean": "rimraf dist/* lib/*", |
| 52 | "prebuild": "npm run clean -s && mkdir -p dist", |
| 53 | "build:src": "coffee -o lib -c src", |
Peter K. Lee | 29a9514 | 2016-08-13 03:25:18 -0700 | [diff] [blame] | 54 | "build:web": "webpack -p", |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 55 | "build": "npm run build:src", |
| 56 | "prepublish": "npm run build", |
| 57 | "pretest": "npm run build", |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 58 | "test": "mocha", |
Peter K. Lee | af777da | 2016-08-17 04:33:00 -0700 | [diff] [blame] | 59 | "start": "node lib/server.js" |
Peter K. Lee | 5539580 | 2016-07-15 18:25:40 -0700 | [diff] [blame] | 60 | } |
| 61 | } |