UNPKG

chai-http

Version:

Extend Chai Assertion library with tests for http apis

84 lines (83 loc) 2.29 kB
{ "name": "chai-http", "version": "4.4.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: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", "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", "coverage": "if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then cat coverage/lcov.info | coveralls; fi", "release": "npm run build && semantic-release" }, "browser": { "http": false, "https": false, "net": "./lib/net.js", "querystring": "qs" }, "dependencies": { "@types/chai": "4", "@types/superagent": "4.1.13", "charset": "^1.0.1", "cookiejar": "^2.1.4", "is-ip": "^2.0.0", "methods": "^1.1.2", "qs": "^6.11.2", "superagent": "^8.0.9" }, "devDependencies": { "@semantic-release/changelog": "^5.0.1", "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/git": "^9.0.0", "@semantic-release/npm": "^7.0.0", "@semantic-release/release-notes-generator": "^7.1.4", "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", "semantic-release": "^17.3.9", "simplifyify": "^4.0.0", "typescript": "^3.0.1" }, "engines": { "node": ">=10" } }