UNPKG

nest-koa-adapter

Version:
73 lines (72 loc) 1.96 kB
{ "name": "nest-koa-adapter", "version": "4.0.1", "description": "Koa HTTP adapter for Nest.js", "main": "dist/index.js", "files": [ "dist" ], "scripts": { "test": "mocha", "build:publish": "tsc --project tsconfig.publish.json", "lint": "eslint '**/*.{js,ts}' --format stylish", "format": "prettier \"**/*.ts\" --ignore-path .prettierignore --write && eslint '**/*.{js,ts}' --format stylish --fix", "prepublishOnly": "rm -rf dist && npm run build:publish", "np:publish": "np --no-yarn" }, "repository": { "type": "git", "url": "https://github.com/seidelmartin/nest-koa-adapter" }, "keywords": [ "nestjs", "koa", "koa-router" ], "author": "Martin Seidel", "license": "MIT", "dependencies": { "koa": "2.15.3", "koa-bodyparser": "4.4.1", "koa-router": "12.0.1" }, "peerDependencies": { "@nestjs/common": "^10", "@nestjs/core": "^10" }, "optionalDependencies": { "@ladjs/koa-views": "9.0.0", "@koa/cors": "5.0.0", "koa-static": "5.0.0" }, "devDependencies": { "@koa/cors": "5.0.0", "@ladjs/koa-views": "9.0.0", "@nestjs/common": "10.4.15", "@nestjs/core": "10.4.15", "@nestjs/testing": "10.4.15", "@types/koa": "2.15.0", "@types/koa__cors": "5.0.0", "@types/koa-bodyparser": "4.3.12", "@types/koa-router": "7.4.8", "@types/koa-static": "4.0.4", "@types/mocha": "10.0.10", "@types/supertest": "6.0.2", "@typescript-eslint/eslint-plugin": "8.19.1", "@typescript-eslint/parser": "8.19.1", "eslint": "9.18.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-mocha": "10.5.0", "eslint-plugin-prettier": "5.2.1", "koa-static": "5.0.0", "lodash": "4.17.21", "mocha": "11.0.1", "np": "10.1.0", "prettier": "3.4.2", "reflect-metadata": "0.2.2", "rxjs": "7.8.1", "supertest": "7.0.0", "ts-node": "10.9.2", "typescript": "5.7.3" } }