UNPKG

koatty_serve

Version:

Provide http1/2, websocket, gRPC server for Koatty.

115 lines (114 loc) 3.78 kB
{ "name": "koatty_serve", "version": "2.8.0", "description": "Provide http1/2, websocket, gRPC server for Koatty.", "scripts": { "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp", "build:cp": "node scripts/postBuild && npx copyfiles package.json LICENSE README.md dist/", "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js", "build:doc": "npx api-documenter markdown --input temp --output docs/api", "build:dts": "npx tsc && npx api-extractor run --local --verbose", "eslint": "eslint --ext .ts,.js ./", "lock": "npx del-cli --force node_modules && npm i --package-lock-only && npx pnpm i", "prepublishOnly": "npm test && npm run build && git push --follow-tags origin", "prerelease": "npm test && npm run build", "release": "standard-version", "release:pre": "npm run release -- --prerelease", "release:major": "npm run release -- --release-as major", "release:minor": "npm run release -- --release-as minor", "test": "npm run eslint && jest --passWithNoTests", "test:cov": "jest --collectCoverage --detectOpenHandles", "test:perf": "jest --testNamePattern=\"performance|benchmark\" --verbose", "benchmark": "node scripts/benchmark.js", "version": "conventional-changelog -p angular -i CHANGELOG.md -s" }, "main": "./dist/index.js", "exports": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "repository": { "type": "git", "url": "git+https://github.com/koatty/koatty_serve.git" }, "keywords": [ "IOC", "koatty", "thinkkoa" ], "engines": { "node": ">10.0.0" }, "author": { "name": "richenlin", "email": "richenlin@gmail.com" }, "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/koatty/koatty_serve/issues" }, "homepage": "https://github.com/koatty/koatty_serve", "maintainers": [ { "name": "richenlin", "email": "richenlin@gmail.com" } ], "devDependencies": { "@commitlint/cli": "^19.x.x", "@commitlint/config-conventional": "^19.x.x", "@microsoft/api-documenter": "^7.x.x", "@microsoft/api-extractor": "^7.x.x", "@rollup/plugin-commonjs": "^28.x.x", "@rollup/plugin-json": "^6.x.x", "@rollup/plugin-node-resolve": "^16.x.x", "@rollup/plugin-terser": "^0.x.x", "@types/jest": "^29.x.x", "@types/koa": "^2.x.x", "@types/koa-compose": "^3.x.x", "@types/lodash": "^4.x.x", "@types/node": "^22.x.x", "@types/on-finished": "^2.x.x", "@types/supertest": "^6.0.3", "@types/ws": "^8.x.x", "@typescript-eslint/eslint-plugin": "^8.x.x", "@typescript-eslint/parser": "^8.x.x", "conventional-changelog-cli": "^5.x.x", "eslint": "^8.x.x", "eslint-plugin-jest": "^28.x.x", "husky": "^4.x.x", "jest": "^29.x.x", "jest-html-reporters": "^3.x.x", "reflect-metadata": "^0.x.x", "rollup": "^4.x.x", "rollup-plugin-delete": "^2.x.x", "rollup-plugin-typescript2": "^0.x.x", "standard-version": "^9.x.x", "supertest": "^7.1.0", "ts-jest": "^29.x.x", "ts-node": "^10.x.x", "tslib": "^2.x.x", "typescript": "^5.x.x" }, "dependencies": { "@grpc/grpc-js": "^1.13.4", "koatty_container": "^1.x.x", "koatty_core": "^1.18.0", "koatty_exception": "^1.x.x", "koatty_lib": "^1.x.x", "koatty_logger": "^2.x.x", "koatty_proto": "^1.x.x", "koatty_validation": "^1.x.x", "ws": "^8.18.2" }, "peerDependencies": { "koatty_container": "^1.x.x", "koatty_core": "^1.x.x", "koatty_exception": "^1.x.x", "koatty_lib": "^1.x.x", "koatty_logger": "^2.x.x", "koatty_proto": "^1.x.x", "koatty_validation": "^1.x.x" } }