{ "_args": [ [ "console-browserify@^1.1.0", "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify" ] ], "_from": "console-browserify@>=1.1.0 <2.0.0", "_id": "console-browserify@1.1.0", "_inCache": true, "_installable": true, "_location": "/console-browserify", "_npmUser": { "email": "raynos2@gmail.com", "name": "raynos" }, "_npmVersion": "1.4.6", "_phantomChildren": {}, "_requested": { "name": "console-browserify", "raw": "console-browserify@^1.1.0", "rawSpec": "^1.1.0", "scope": null, "spec": ">=1.1.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/browserify" ], "_resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", "_shasum": "f0241c45730a9fc6323b206dbf38edc741d0bb10", "_shrinkwrap": null, "_spec": "console-browserify@^1.1.0", "_where": "/Users/tristan/dev/p4/depot/main/helix-web-services/source/clients/2016.1.0/javascript/node_modules/browserify", "author": { "email": "raynos2@gmail.com", "name": "Raynos" }, "bugs": { "email": "raynos2@gmail.com", "url": "https://github.com/Raynos/console-browserify/issues" }, "contributors": [ { "name": "Raynos" } ], "dependencies": { "date-now": "^0.1.4" }, "description": "Emulate console for all the browsers", "devDependencies": { "jsonify": "0.0.0", "run-browser": "^1.3.0", "tap-dot": "^0.2.1", "tap-spec": "^0.1.8", "tape": "^2.12.3" }, "directories": {}, "dist": { "shasum": "f0241c45730a9fc6323b206dbf38edc741d0bb10", "tarball": "http://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz" }, "homepage": "https://github.com/Raynos/console-browserify", "keywords": [], "licenses": [ { "type": "MIT", "url": "http://github.com/Raynos/console-browserify/raw/master/LICENSE" } ], "main": "index", "maintainers": [ { "email": "raynos2@gmail.com", "name": "raynos" } ], "name": "console-browserify", "optionalDependencies": {}, "readme": "ERROR: No README data found!", "repository": { "type": "git", "url": "git://github.com/Raynos/console-browserify.git" }, "scripts": { "browser": "run-browser test/index.js", "build": "browserify test/index.js -o test/static/bundle.js", "cover": "istanbul cover --report none --print detail ./test/index.js", "dot": "node ./test/index.js | tap-dot", "phantom": "run-browser test/index.js -b | tap-spec", "start": "node ./index.js", "test": "node ./test/index.js | tap-spec", "testem": "testem", "view-cover": "istanbul report html && google-chrome ./coverage/index.html" }, "testling": { "browsers": [ "ie/8..latest", "firefox/16..latest", "firefox/nightly", "chrome/22..latest", "chrome/canary", "opera/12..latest", "opera/next", "safari/5.1..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2..latest" ], "files": "test/index.js" }, "version": "1.1.0" }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19553 | swellard | Move and rename clients | ||
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/javascript/node_modules/console-browserify/package.json | |||||
#1 | 18810 | tjuricek |
First-pass at JavaScript client SDK. JavaScript requires Node with Gulp to "browserfy" the library. It's the easiest way I found to use the swagger-js project; bundle up a wrapping method. There is no JavaScript reference guide. The swagger-js doesn't really document what they do very well, actually. Overall I'm not particularly impressed by swagger-js, it was hard to even figure out what the right method syntax was. We may want to invest time in doing it better. This required setting CORS response headers, which are currently defaulted to a fairly insecure setting. |