UNPKG

chai-http

Version:

Extend Chai Assertion library with tests for http apis

77 lines (76 loc) 2.03 kB
{ "name": "chai-http", "version": "4.3.0", "description": "Extend Chai Assertion library with tests for http apis", "author": "Jake Luer <jake@alogicalparadox.com>", "license": "MIT", "keywords": [ "chai", "chai-plugin", "browser", "http", "request", "vendor", "supertest", "superagent" ], "contributors": [ "Jake Luer <jake@alogicalparadox.com>", "Veselin Todorov <hi@vesln.com>", "Keith Cirkel <oss@keithcirkel.co.uk> (http://keithcirkel.co.uk)" ], "files": [ "dist/chai-http.js", "lib/*.js", "index.js", "types/index.d.ts" ], "main": "./index", "types": "./types/index.d.ts", "repository": { "type": "git", "url": "git@github.com:chaijs/chai-http.git" }, "scripts": { "build": "npm run build:readme && npm run build:js && npm run build:ts", "prebuild:js": "rm -rf dist", "build:js": "simplifyify lib/http.js --outfile dist/chai-http.js --bundle --minify --debug --standalone chaiHttp", "build:ts": "cd types && tsc", "build:readme": "rm -rf README.md && node ./support/readme", "start": "npm-run-all --parallel watch server", "watch": "npm run build:js -- --watch", "server": "http-server -o -c-1", "test": "istanbul cover --report lcovonly _mocha", "posttest": "if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then cat coverage/lcov.info | coveralls; fi" }, "browser": { "http": false, "https": false, "net": "./lib/net.js", "querystring": "qs" }, "dependencies": { "@types/chai": "4", "@types/superagent": "^3.8.3", "cookiejar": "^2.1.1", "is-ip": "^2.0.0", "methods": "^1.1.2", "qs": "^6.5.1", "superagent": "^3.7.0" }, "devDependencies": { "chai": "4", "coveralls": "^3.0.0", "dox": "^0.9.0", "es6-shim": "^0.35.1", "http-server": "^0.10.0", "istanbul": "^0.4.3", "mocha": "^4.0.1", "npm-run-all": "^4.1.1", "simplifyify": "^4.0.0", "typescript": "^3.0.1" }, "engines": { "node": ">=4" } }