{ "name": "http-server", "preferGlobal": true, "version": "0.3.0", "author": "Nodejitsu <support@nodejitsu.com>", "description": "a simple zero-configuration command-line http server", "contributors": [ { "name": "Marak Squires", "email": "marak@nodejitsu.com" } ], "bin": { "http-server": "./bin/http-server" }, "scripts": { "start": "node ./bin/http-server", "test": "vows --spec --isolate", "predeploy": "echo This will be run before deploying the app", "postdeploy": "echo This will be run after deploying the app" }, "main": "./lib/http-server", "repository": { "type": "git", "url": "https://github.com/nodejitsu/http-server.git" }, "keywords": [ "cli", "http", "server" ], "dependencies" : { "colors" : "*", "flatiron" : "0.1.x", "optimist" : "0.2.x", "union" : "0.1.x", "ecstatic" : "0.1.x", "plates" : "https://github.com/flatiron/plates/tarball/master" }, "analyze": false, "devDependencies": { "vows" : "0.5.x", "request" : "2.1.x" }, "bundledDependencies": [ "union", "ecstatic" ], "license": "MIT", "engines": { "node": ">=0.6" } }
# | 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/normalize-package-data/test/fixtures/http-server.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. |