UNPKG

@eggjs/supertest

Version:

SuperAgent driven library for testing HTTP servers

87 lines (86 loc) 2 kB
{ "name": "@eggjs/supertest", "description": "SuperAgent driven library for testing HTTP servers", "version": "8.2.0", "publishConfig": { "access": "public" }, "author": "TJ Holowaychuk", "keywords": [ "bdd", "http", "request", "superagent", "tdd", "test", "testing" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/eggjs/supertest.git" }, "engines": { "node": ">= 18.19.0" }, "dependencies": { "@types/superagent": "^8.1.9", "superagent": "^9.0.1" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.3", "@eggjs/bin": "7", "@eggjs/tsconfig": "1", "@types/body-parser": "^1.19.5", "@types/cookie-parser": "^1.4.8", "@types/express": "^5.0.0", "@types/mocha": "10", "@types/node": "22", "body-parser": "^1.20.3", "cookie-parser": "^1.4.6", "eslint": "8", "eslint-config-egg": "14", "express": "^4.18.2", "nock": "^13.3.0", "nyc": "^15.1.0", "should": "^13.2.3", "tshy": "3", "tshy-after": "1", "typescript": "5" }, "scripts": { "lint": "eslint --cache src test --ext .ts", "pretest": "npm run lint -- --fix && npm run prepublishOnly", "test": "egg-bin test", "preci": "npm run lint && npm run prepublishOnly && attw --pack", "ci": "egg-bin cov", "prepublishOnly": "tshy && tshy-after" }, "type": "module", "tshy": { "exports": { ".": "./src/index.ts", "./package.json": "./package.json" } }, "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } }, "./package.json": "./package.json" }, "files": [ "dist", "src" ], "types": "./dist/commonjs/index.d.ts", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js" }