mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
Schema loader and Schema Info component
This commit is contained in:
parent
eeb8941fba
commit
920c5c0497
|
@ -5,15 +5,15 @@
|
|||
</head>
|
||||
<body>
|
||||
<!-- The wrapper component-->
|
||||
<redoc-test>
|
||||
<redoc>
|
||||
Loading...
|
||||
</redoc-test>
|
||||
</redoc>
|
||||
|
||||
<!-- ReDoc built file with all dependencies included -->
|
||||
<script src="dist/redoc.full.js"> </script>
|
||||
<script>
|
||||
//init redoc
|
||||
Redoc.init();
|
||||
Redoc.init('petstore.json');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<h1>Hello <strong>{{ name }}</strong>!</h1>
|
|
@ -1,15 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
import {Component, View} from 'angular2/angular2';
|
||||
|
||||
@Component({selector: 'redoc-test'})
|
||||
@View({
|
||||
templateUrl: './lib/RedocTest/redoc-test.html',
|
||||
styleUrls: ['./lib/RedocTest/redoc-test.css']
|
||||
})
|
||||
// Component controller
|
||||
export class RedocTest {
|
||||
constructor() {
|
||||
this.name = 'ReDoc';
|
||||
}
|
||||
}
|
1
lib/components/Redoc/redoc.html
Normal file
1
lib/components/Redoc/redoc.html
Normal file
|
@ -0,0 +1 @@
|
|||
<redoc-api-info> </redoc-api-info>
|
27
lib/components/Redoc/redoc.js
Normal file
27
lib/components/Redoc/redoc.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
'use strict';
|
||||
|
||||
import {Component, View} from 'angular2/angular2';
|
||||
import {SchemaManager} from '../../utils/SchemaManager';
|
||||
import {RedocInfo} from '../RedocInfo/redoc-info'
|
||||
|
||||
@Component({
|
||||
selector: 'redoc',
|
||||
bindings: [SchemaManager]
|
||||
})
|
||||
@View({
|
||||
templateUrl: './lib/components/Redoc/redoc.html',
|
||||
directives: [RedocInfo]
|
||||
})
|
||||
export class Redoc {
|
||||
constructor(schemaMgr) {
|
||||
this.data = null;
|
||||
this.schema = schemaMgr.schema;
|
||||
this.extractData();
|
||||
}
|
||||
|
||||
extractData() {
|
||||
this.data = this.schema
|
||||
//TODO: check and apply hooks to modify data
|
||||
}
|
||||
}
|
||||
Redoc.parameters = [[SchemaManager]]
|
15
lib/components/RedocInfo/redoc-info.html
Normal file
15
lib/components/RedocInfo/redoc-info.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<h1>{{data.title}} ({{data.version}})</h1>
|
||||
<p *ng-if="data.description"> {{data.description}} </p>
|
||||
<p>
|
||||
<!-- TODO: create separate components for contact and license ? -->
|
||||
<span *ng-if="data.contact"> Contatct:
|
||||
<a *ng-if="data.contact.url" href="{{data.contact.url}}">
|
||||
{{data.contact.name || data.contact.url}}</a>
|
||||
<a *ng-if="data.contact.email" href="mailto:{{data.contact.email}}">
|
||||
{{data.contact.email}}</a>
|
||||
</span>
|
||||
<span *ng-if="data.license"> License:
|
||||
<a *ng-if="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>
|
||||
<span *ng-if="!data.license.url"> {{data.license.name}} </span>
|
||||
</span>
|
||||
</p>
|
27
lib/components/RedocInfo/redoc-info.js
Normal file
27
lib/components/RedocInfo/redoc-info.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
'use strict';
|
||||
|
||||
import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2';
|
||||
import {SchemaManager} from '../../utils/SchemaManager';
|
||||
|
||||
@Component({
|
||||
selector: 'redoc-api-info'
|
||||
})
|
||||
@View({
|
||||
templateUrl: './lib/components/RedocInfo/redoc-info.html',
|
||||
styleUrls: ['./lib/components/RedocInfo/redoc-info.css'],
|
||||
directives: [CORE_DIRECTIVES]
|
||||
})
|
||||
export class RedocInfo {
|
||||
constructor(schemaMgr) {
|
||||
this.data = null;
|
||||
this.schema = schemaMgr.schema;
|
||||
this.extractData();
|
||||
}
|
||||
|
||||
extractData() {
|
||||
this.data = this.schema.info;
|
||||
|
||||
//TODO: check and apply hooks to modify data
|
||||
}
|
||||
}
|
||||
RedocInfo.parameters = [[SchemaManager]]
|
4
lib/components/index.js
Normal file
4
lib/components/index.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
export * from './Redoc/redoc';
|
||||
export * from './RedocInfo/redoc-info';
|
13
lib/index.js
13
lib/index.js
|
@ -3,12 +3,17 @@
|
|||
import 'zone.js';
|
||||
import 'reflect-metadata';
|
||||
import { bootstrap } from 'angular2/angular2';
|
||||
import { RedocTest } from './RedocTest/redoc-test';
|
||||
import { Redoc } from './components/Redoc/redoc';
|
||||
import { SchemaManager} from './utils/SchemaManager';
|
||||
|
||||
export * from './RedocTest/redoc-test';
|
||||
export * from './components/index';
|
||||
|
||||
export function init() {
|
||||
bootstrap(RedocTest).then(
|
||||
export function init(schemaUrl) {
|
||||
SchemaManager.instance().load(schemaUrl).then(
|
||||
() => {
|
||||
return bootstrap(Redoc);
|
||||
}
|
||||
).then(
|
||||
() => console.log('ReDoc bootstrapped!'),
|
||||
error => console.log(error)
|
||||
);
|
||||
|
|
44
lib/utils/SchemaManager.js
Normal file
44
lib/utils/SchemaManager.js
Normal file
|
@ -0,0 +1,44 @@
|
|||
'use strict';
|
||||
import SwaggerParser from 'swagger-parser';
|
||||
|
||||
export class SchemaManager {
|
||||
constructor() {
|
||||
if (SchemaManager.prototype._instance) {
|
||||
return SchemaManager.prototype._instance;
|
||||
}
|
||||
|
||||
SchemaManager.prototype._instance = this;
|
||||
|
||||
this._schema = {};
|
||||
}
|
||||
|
||||
static instance() {
|
||||
return new SchemaManager();
|
||||
}
|
||||
|
||||
load(url) {
|
||||
let promise = new Promise((resolve, reject) => {
|
||||
this._schema = {};
|
||||
|
||||
SwaggerParser.bundle(url)
|
||||
.then(
|
||||
(schema) => {
|
||||
this._schema = schema;
|
||||
resolve(this._schema);
|
||||
},
|
||||
(err) => reject(err)
|
||||
);
|
||||
});
|
||||
|
||||
return promise;
|
||||
}
|
||||
|
||||
get schema() {
|
||||
// TODO: consider returning promise
|
||||
return this._schema;
|
||||
}
|
||||
|
||||
getByJsonPath(/* path */) {
|
||||
//TODO: implement
|
||||
}
|
||||
}
|
|
@ -23,12 +23,14 @@
|
|||
"angular2": "npm:angular2@^2.0.0-alpha.37",
|
||||
"es6-shim": "github:es-shims/es6-shim@^0.33.6",
|
||||
"reflect-metadata": "npm:reflect-metadata@^0.1.2",
|
||||
"swagger-parser": "npm:swagger-parser@^3.3.0",
|
||||
"zone.js": "npm:zone.js@^0.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel": "npm:babel-core@^5.8.24",
|
||||
"babel-runtime": "npm:babel-runtime@^5.8.24",
|
||||
"core-js": "npm:core-js@^1.1.4"
|
||||
"core-js": "npm:core-js@^1.1.4",
|
||||
"systemjs/plugin-json": "github:systemjs/plugin-json@^0.1.0"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
466
system.config.js
466
system.config.js
|
@ -15,6 +15,18 @@ System.config({
|
|||
"npm:*": "jspm_packages/npm/*"
|
||||
},
|
||||
|
||||
packages: {
|
||||
"npm:swagger-schema-official@2.0.0-d79c205": {
|
||||
"defaultExtension": "json",
|
||||
"main": "schema.json",
|
||||
"meta": {
|
||||
"*": {
|
||||
"loader": "json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
map: {
|
||||
"angular2": "npm:angular2@2.0.0-alpha.37",
|
||||
"babel": "npm:babel-core@5.8.25",
|
||||
|
@ -22,6 +34,9 @@ System.config({
|
|||
"core-js": "npm:core-js@1.2.0",
|
||||
"es6-shim": "github:es-shims/es6-shim@0.33.6",
|
||||
"reflect-metadata": "npm:reflect-metadata@0.1.2",
|
||||
"swagger-parser": "npm:swagger-parser@3.3.0",
|
||||
"json": "github:systemjs/plugin-json@0.1.0",
|
||||
"systemjs/plugin-json": "github:systemjs/plugin-json@0.1.0",
|
||||
"zone.js": "npm:zone.js@0.5.7",
|
||||
"github:jspm/nodelibs-assert@0.1.0": {
|
||||
"assert": "npm:assert@1.3.0"
|
||||
|
@ -38,11 +53,38 @@ System.config({
|
|||
"github:jspm/nodelibs-events@0.1.1": {
|
||||
"events": "npm:events@1.0.2"
|
||||
},
|
||||
"github:jspm/nodelibs-http@1.7.1": {
|
||||
"Base64": "npm:Base64@0.2.1",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"github:jspm/nodelibs-https@0.1.0": {
|
||||
"https-browserify": "npm:https-browserify@0.0.0"
|
||||
},
|
||||
"github:jspm/nodelibs-net@0.1.2": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"net": "github:jspm/nodelibs-net@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"timers": "github:jspm/nodelibs-timers@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"github:jspm/nodelibs-path@0.1.0": {
|
||||
"path-browserify": "npm:path-browserify@0.0.0"
|
||||
},
|
||||
"github:jspm/nodelibs-process@0.1.1": {
|
||||
"process": "npm:process@0.10.1"
|
||||
"github:jspm/nodelibs-process@0.1.2": {
|
||||
"process": "npm:process@0.11.2"
|
||||
},
|
||||
"github:jspm/nodelibs-punycode@0.1.0": {
|
||||
"punycode": "npm:punycode@1.3.2"
|
||||
},
|
||||
"github:jspm/nodelibs-querystring@0.1.0": {
|
||||
"querystring": "npm:querystring@0.2.0"
|
||||
},
|
||||
"github:jspm/nodelibs-stream@0.1.0": {
|
||||
"stream-browserify": "npm:stream-browserify@1.0.0"
|
||||
|
@ -50,6 +92,12 @@ System.config({
|
|||
"github:jspm/nodelibs-string_decoder@0.1.0": {
|
||||
"string_decoder": "npm:string_decoder@0.10.31"
|
||||
},
|
||||
"github:jspm/nodelibs-timers@0.1.0": {
|
||||
"timers-browserify": "npm:timers-browserify@1.4.1"
|
||||
},
|
||||
"github:jspm/nodelibs-tty@0.1.0": {
|
||||
"tty-browserify": "npm:tty-browserify@0.0.0"
|
||||
},
|
||||
"github:jspm/nodelibs-url@0.1.0": {
|
||||
"url": "npm:url@0.10.3"
|
||||
},
|
||||
|
@ -59,16 +107,28 @@ System.config({
|
|||
"github:jspm/nodelibs-vm@0.1.0": {
|
||||
"vm-browserify": "npm:vm-browserify@0.0.4"
|
||||
},
|
||||
"github:jspm/nodelibs-zlib@0.1.0": {
|
||||
"browserify-zlib": "npm:browserify-zlib@0.1.4"
|
||||
},
|
||||
"npm:angular2@2.0.0-alpha.37": {
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"reflect-metadata": "npm:reflect-metadata@0.1.2",
|
||||
"rx": "npm:rx@2.5.1",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"zone.js": "npm:zone.js@0.5.7"
|
||||
},
|
||||
"npm:argparse@1.0.2": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"lodash": "npm:lodash@3.10.1",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"sprintf-js": "npm:sprintf-js@1.0.3",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:asn1.js@2.2.1": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"bn.js": "npm:bn.js@2.2.0",
|
||||
|
@ -77,11 +137,43 @@ System.config({
|
|||
"minimalistic-assert": "npm:minimalistic-assert@1.0.0",
|
||||
"vm": "github:jspm/nodelibs-vm@0.1.0"
|
||||
},
|
||||
"npm:asn1@0.1.11": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"sys": "github:jspm/nodelibs-util@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:assert-plus@0.1.5": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:assert@1.3.0": {
|
||||
"util": "npm:util@0.10.3"
|
||||
},
|
||||
"npm:async@1.4.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:aws-sign2@0.5.0": {
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0"
|
||||
},
|
||||
"npm:babel-runtime@5.8.25": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:bl@1.0.0": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"readable-stream": "npm:readable-stream@2.0.2",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:bluebird@2.10.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:boom@2.9.0": {
|
||||
"hoek": "npm:hoek@2.16.3",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1"
|
||||
},
|
||||
"npm:browserify-aes@1.0.5": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
|
@ -127,6 +219,14 @@ System.config({
|
|||
"parse-asn1": "npm:parse-asn1@3.0.2",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0"
|
||||
},
|
||||
"npm:browserify-zlib@0.1.4": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"pako": "npm:pako@0.2.8",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"readable-stream": "npm:readable-stream@1.1.13",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:buffer-xor@1.0.3": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
|
@ -136,24 +236,49 @@ System.config({
|
|||
"ieee754": "npm:ieee754@1.1.6",
|
||||
"is-array": "npm:is-array@1.0.1"
|
||||
},
|
||||
"npm:call-me-maybe@1.0.1": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:chalk@1.1.1": {
|
||||
"ansi-styles": "npm:ansi-styles@2.1.0",
|
||||
"escape-string-regexp": "npm:escape-string-regexp@1.0.3",
|
||||
"has-ansi": "npm:has-ansi@2.0.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"strip-ansi": "npm:strip-ansi@3.0.0",
|
||||
"supports-color": "npm:supports-color@2.0.0"
|
||||
},
|
||||
"npm:cipher-base@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0"
|
||||
},
|
||||
"npm:combined-stream@1.0.5": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"delayed-stream": "npm:delayed-stream@1.0.0",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:commander@2.8.1": {
|
||||
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"graceful-readlink": "npm:graceful-readlink@1.0.1",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:constants-browserify@0.0.1": {
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:core-js@1.2.0": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:core-util-is@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
||||
},
|
||||
"npm:create-ecdh@2.0.1": {
|
||||
"npm:create-ecdh@2.0.2": {
|
||||
"bn.js": "npm:bn.js@2.2.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
|
@ -175,10 +300,14 @@ System.config({
|
|||
"inherits": "npm:inherits@2.0.1",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0"
|
||||
},
|
||||
"npm:cryptiles@2.0.5": {
|
||||
"boom": "npm:boom@2.9.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0"
|
||||
},
|
||||
"npm:crypto-browserify@3.10.0": {
|
||||
"browserify-cipher": "npm:browserify-cipher@1.0.0",
|
||||
"browserify-sign": "npm:browserify-sign@3.0.8",
|
||||
"create-ecdh": "npm:create-ecdh@2.0.1",
|
||||
"create-ecdh": "npm:create-ecdh@2.0.2",
|
||||
"create-hash": "npm:create-hash@1.1.2",
|
||||
"create-hmac": "npm:create-hmac@1.1.4",
|
||||
"diffie-hellman": "npm:diffie-hellman@3.0.2",
|
||||
|
@ -187,6 +316,23 @@ System.config({
|
|||
"public-encrypt": "npm:public-encrypt@2.0.1",
|
||||
"randombytes": "npm:randombytes@2.0.1"
|
||||
},
|
||||
"npm:ctype@0.5.3": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:debug@2.2.0": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"ms": "npm:ms@0.7.1",
|
||||
"net": "github:jspm/nodelibs-net@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"tty": "github:jspm/nodelibs-tty@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:delayed-stream@1.0.0": {
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:des.js@1.0.0": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
|
@ -208,23 +354,176 @@ System.config({
|
|||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:es6-promise@3.0.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:esprima@2.2.0": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:evp_bytestokey@1.0.0": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"create-hash": "npm:create-hash@1.1.2",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0"
|
||||
},
|
||||
"npm:forever-agent@0.6.1": {
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"https": "github:jspm/nodelibs-https@0.1.0",
|
||||
"net": "github:jspm/nodelibs-net@0.1.2",
|
||||
"tls": "github:jspm/nodelibs-tls@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:form-data@1.0.0-rc3": {
|
||||
"async": "npm:async@1.4.2",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"combined-stream": "npm:combined-stream@1.0.5",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"https": "github:jspm/nodelibs-https@0.1.0",
|
||||
"mime-types": "npm:mime-types@2.1.7",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:generate-function@2.0.0": {
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:generate-object-property@1.2.0": {
|
||||
"is-property": "npm:is-property@1.0.2"
|
||||
},
|
||||
"npm:graceful-readlink@1.0.1": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2"
|
||||
},
|
||||
"npm:har-validator@1.8.0": {
|
||||
"bluebird": "npm:bluebird@2.10.2",
|
||||
"chalk": "npm:chalk@1.1.1",
|
||||
"commander": "npm:commander@2.8.1",
|
||||
"is-my-json-valid": "npm:is-my-json-valid@2.12.2",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:has-ansi@2.0.0": {
|
||||
"ansi-regex": "npm:ansi-regex@2.0.0"
|
||||
},
|
||||
"npm:hash.js@1.0.3": {
|
||||
"inherits": "npm:inherits@2.0.1"
|
||||
},
|
||||
"npm:hawk@3.1.0": {
|
||||
"boom": "npm:boom@2.9.0",
|
||||
"cryptiles": "npm:cryptiles@2.0.5",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"hoek": "npm:hoek@2.16.3",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"sntp": "npm:sntp@1.0.9",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0"
|
||||
},
|
||||
"npm:hoek@2.16.3": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:http-signature@0.11.0": {
|
||||
"asn1": "npm:asn1@0.1.11",
|
||||
"assert-plus": "npm:assert-plus@0.1.5",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"ctype": "npm:ctype@0.5.3",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:https-browserify@0.0.0": {
|
||||
"http": "github:jspm/nodelibs-http@1.7.1"
|
||||
},
|
||||
"npm:inherits@2.0.1": {
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:is-my-json-valid@2.12.2": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"generate-function": "npm:generate-function@2.0.0",
|
||||
"generate-object-property": "npm:generate-object-property@1.2.0",
|
||||
"jsonpointer": "npm:jsonpointer@2.0.0",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"xtend": "npm:xtend@4.0.0"
|
||||
},
|
||||
"npm:isstream@0.1.2": {
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:js-yaml@3.4.2": {
|
||||
"argparse": "npm:argparse@1.0.2",
|
||||
"esprima": "npm:esprima@2.2.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:json-schema-ref-parser@1.4.0": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"call-me-maybe": "npm:call-me-maybe@1.0.1",
|
||||
"debug": "npm:debug@2.2.0",
|
||||
"es6-promise": "npm:es6-promise@3.0.2",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"https": "github:jspm/nodelibs-https@0.1.0",
|
||||
"js-yaml": "npm:js-yaml@3.4.2",
|
||||
"ono": "npm:ono@1.0.22",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"punycode": "github:jspm/nodelibs-punycode@0.1.0",
|
||||
"querystring": "github:jspm/nodelibs-querystring@0.1.0",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:jsonpointer@2.0.0": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0"
|
||||
},
|
||||
"npm:lodash._baseget@3.7.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:lodash._topath@3.8.1": {
|
||||
"lodash.isarray": "npm:lodash.isarray@3.0.4",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:lodash.get@3.7.0": {
|
||||
"lodash._baseget": "npm:lodash._baseget@3.7.2",
|
||||
"lodash._topath": "npm:lodash._topath@3.8.1"
|
||||
},
|
||||
"npm:lodash@3.10.1": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:miller-rabin@2.0.1": {
|
||||
"bn.js": "npm:bn.js@2.2.0",
|
||||
"brorand": "npm:brorand@1.0.5"
|
||||
},
|
||||
"npm:mime-db@1.19.0": {
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:mime-types@2.1.7": {
|
||||
"mime-db": "npm:mime-db@1.19.0",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0"
|
||||
},
|
||||
"npm:node-uuid@1.4.3": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
||||
},
|
||||
"npm:oauth-sign@0.8.0": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"querystring": "github:jspm/nodelibs-querystring@0.1.0"
|
||||
},
|
||||
"npm:ono@1.0.22": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:pako@0.2.8": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:parse-asn1@3.0.2": {
|
||||
"asn1.js": "npm:asn1.js@2.2.1",
|
||||
"browserify-aes": "npm:browserify-aes@1.0.5",
|
||||
|
@ -235,7 +534,7 @@ System.config({
|
|||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:path-browserify@0.0.0": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:pbkdf2@3.0.4": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
|
@ -243,9 +542,15 @@ System.config({
|
|||
"create-hmac": "npm:create-hmac@1.1.4",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:process-nextick-args@1.0.3": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:process@0.11.2": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0"
|
||||
},
|
||||
"npm:public-encrypt@2.0.1": {
|
||||
"bn.js": "npm:bn.js@2.2.0",
|
||||
"browserify-rsa": "npm:browserify-rsa@2.0.1",
|
||||
|
@ -256,12 +561,12 @@ System.config({
|
|||
"randombytes": "npm:randombytes@2.0.1"
|
||||
},
|
||||
"npm:punycode@1.3.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:randombytes@2.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:readable-stream@1.1.13": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
|
@ -269,26 +574,76 @@ System.config({
|
|||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"isarray": "npm:isarray@0.0.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"stream-browserify": "npm:stream-browserify@1.0.0",
|
||||
"string_decoder": "npm:string_decoder@0.10.31"
|
||||
},
|
||||
"npm:readable-stream@2.0.2": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"core-util-is": "npm:core-util-is@1.0.1",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"isarray": "npm:isarray@0.0.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"process-nextick-args": "npm:process-nextick-args@1.0.3",
|
||||
"string_decoder": "npm:string_decoder@0.10.31",
|
||||
"util-deprecate": "npm:util-deprecate@1.0.1"
|
||||
},
|
||||
"npm:reflect-metadata@0.1.2": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:request@2.64.0": {
|
||||
"aws-sign2": "npm:aws-sign2@0.5.0",
|
||||
"bl": "npm:bl@1.0.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"caseless": "npm:caseless@0.11.0",
|
||||
"combined-stream": "npm:combined-stream@1.0.5",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"extend": "npm:extend@3.0.0",
|
||||
"forever-agent": "npm:forever-agent@0.6.1",
|
||||
"form-data": "npm:form-data@1.0.0-rc3",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"har-validator": "npm:har-validator@1.8.0",
|
||||
"hawk": "npm:hawk@3.1.0",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"http-signature": "npm:http-signature@0.11.0",
|
||||
"https": "github:jspm/nodelibs-https@0.1.0",
|
||||
"isstream": "npm:isstream@0.1.2",
|
||||
"json-stringify-safe": "npm:json-stringify-safe@5.0.1",
|
||||
"mime-types": "npm:mime-types@2.1.7",
|
||||
"node-uuid": "npm:node-uuid@1.4.3",
|
||||
"oauth-sign": "npm:oauth-sign@0.8.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"qs": "npm:qs@5.1.0",
|
||||
"querystring": "github:jspm/nodelibs-querystring@0.1.0",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"stringstream": "npm:stringstream@0.0.4",
|
||||
"tough-cookie": "npm:tough-cookie@2.1.0",
|
||||
"tunnel-agent": "npm:tunnel-agent@0.4.1",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0",
|
||||
"zlib": "github:jspm/nodelibs-zlib@0.1.0"
|
||||
},
|
||||
"npm:ripemd160@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:rx@2.5.1": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:sha.js@2.4.4": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:sntp@1.0.9": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"dgram": "github:jspm/nodelibs-dgram@0.1.0",
|
||||
"dns": "github:jspm/nodelibs-dns@0.1.0",
|
||||
"hoek": "npm:hoek@2.16.3",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:stream-browserify@1.0.0": {
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
|
@ -298,22 +653,95 @@ System.config({
|
|||
"npm:string_decoder@0.10.31": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
||||
},
|
||||
"npm:stringstream@0.0.4": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0",
|
||||
"zlib": "github:jspm/nodelibs-zlib@0.1.0"
|
||||
},
|
||||
"npm:strip-ansi@3.0.0": {
|
||||
"ansi-regex": "npm:ansi-regex@2.0.0"
|
||||
},
|
||||
"npm:supports-color@2.0.0": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:swagger-parser@3.3.0": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"call-me-maybe": "npm:call-me-maybe@1.0.1",
|
||||
"debug": "npm:debug@2.2.0",
|
||||
"es6-promise": "npm:es6-promise@3.0.2",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"https": "github:jspm/nodelibs-https@0.1.0",
|
||||
"json-schema-ref-parser": "npm:json-schema-ref-parser@1.4.0",
|
||||
"ono": "npm:ono@1.0.22",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"punycode": "github:jspm/nodelibs-punycode@0.1.0",
|
||||
"querystring": "github:jspm/nodelibs-querystring@0.1.0",
|
||||
"stream": "github:jspm/nodelibs-stream@0.1.0",
|
||||
"string_decoder": "github:jspm/nodelibs-string_decoder@0.1.0",
|
||||
"swagger-methods": "npm:swagger-methods@1.0.0",
|
||||
"swagger-schema-official": "npm:swagger-schema-official@2.0.0-d79c205",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0",
|
||||
"z-schema": "npm:z-schema@3.15.3"
|
||||
},
|
||||
"npm:timers-browserify@1.4.1": {
|
||||
"process": "npm:process@0.11.2"
|
||||
},
|
||||
"npm:tough-cookie@2.1.0": {
|
||||
"net": "github:jspm/nodelibs-net@0.1.2",
|
||||
"punycode": "github:jspm/nodelibs-punycode@0.1.0",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0",
|
||||
"url": "github:jspm/nodelibs-url@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:tunnel-agent@0.4.1": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"http": "github:jspm/nodelibs-http@1.7.1",
|
||||
"https": "github:jspm/nodelibs-https@0.1.0",
|
||||
"net": "github:jspm/nodelibs-net@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"tls": "github:jspm/nodelibs-tls@0.1.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:url@0.10.3": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"punycode": "npm:punycode@1.3.2",
|
||||
"querystring": "npm:querystring@0.2.0",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:util-deprecate@1.0.1": {
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:util@0.10.3": {
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:validator@4.1.0": {
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:vm-browserify@0.0.4": {
|
||||
"indexof": "npm:indexof@0.0.1"
|
||||
},
|
||||
"npm:z-schema@3.15.3": {
|
||||
"commander": "npm:commander@2.8.1",
|
||||
"lodash.get": "npm:lodash.get@3.7.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"request": "npm:request@2.64.0",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0",
|
||||
"validator": "npm:validator@4.1.0"
|
||||
},
|
||||
"npm:zone.js@0.5.7": {
|
||||
"es6-promise": "npm:es6-promise@3.0.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user