UNPKG

@halsp/http

Version:

支持 Halsp HTTP 请求

72 lines (71 loc) 1.73 kB
{ "name": "@halsp/http", "version": "2.4.5", "description": "支持 Halsp HTTP 请求", "engines": { "node": ">=16" }, "homepage": "https://halsp.org", "repository": { "type": "git", "url": "https://github.com/halsp/core" }, "keywords": [ "halsp", "http" ], "bugs": { "url": "https://github.com/halsp/core/issues", "email": "support@hal.wang" }, "private": false, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "type": "module", "main": "./dist-cjs/index.cjs", "module": "./dist-mjs/index.mjs", "types": "./dist-mjs/index.d.ts", "exports": { ".": { "require": "./dist-cjs/index.cjs", "import": "./dist-mjs/index.mjs", "types": "./dist-mjs/index.d.ts" }, "./package.json": "./package.json" }, "scripts": { "build:cjs": "halsp build --tsconfigPath tsconfig.cjs.json --moduleType cjs --cleanDist", "build:mjs": "halsp build --tsconfigPath tsconfig.mjs.json --moduleType mjs --cleanDist", "prebuild": "npm run lint", "build": "npm run build:mjs && npm run build:cjs", "lint": "eslint src test --ext .ts", "pretest": "npm run build", "test": "jest" }, "author": "hal-wang", "license": "MIT", "dependencies": { "@halsp/core": "^2.4.5", "http-status-codes": "^2.3.0", "mime-types": "^2.1.35" }, "devDependencies": { "@types/mime-types": "^2.1.4" }, "files": [ "/dist-cjs/**/*", "/dist-mjs/**/*", "/src/**/*", "/test/**/*", ".eslintignore", ".eslintrc.js", ".gitignore", "LICENSE", "package.json", "README.md", "tsconfig.json" ], "gitHead": "63b626c01b98b90cc1b3f41c9a91baaea711c7bb" }