UNPKG

koa-mongo-router

Version:
58 lines (57 loc) 1.95 kB
{ "name": "koa-mongo-router", "version": "0.4.146", "description": "KOA REST API Router for MongoDB", "author": "James Talton", "license": "ISC", "keywords": [ "KOA", "REST", "MongoDB", "Mongo" ], "repository": { "type": "git", "url": "https://github.com/jamestalton/koa-mongo-router.git" }, "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "rm -rf lib && tsc --sourceMap false", "test": "npm run jest && npm run lint && npm run check", "start": "PORT=3000 MAX_WORKERS=2 LOG_LEVEL=debug ts-node-dev --no-notify --no-deps --respawn --transpile-only example/example.ts", "jest": "rm -rf coverage && jest", "lint": "tslint -p . && tslint -p test -c test/tslint.json", "lint-fix": "tslint -p . --fix && tslint -p test -c test/tslint.json --fix", "format": "prettier --write **/*.ts", "check": "prettier --check **/*.ts", "clean": "rm -rf package-lock.json node_modules lib coverage", "update": "npm run clean && ncu -u && npm install && npm test" }, "dependencies": { "@types/koa": "^2.11.3", "@types/koa-bodyparser": "^4.3.0", "@types/koa-router": "^7.4.1", "@types/mongodb": "^3.5.25", "@types/node": "^14.0.27", "JSONStream": "^1.3.5", "koa": "^2.13.0", "koa-bodyparser": "^4.3.0", "koa-router": "^9.1.0", "mongodb": "^3.5.9", "node-server-utils": "0.0.93", "r7insight_node": "^2.0.2" }, "devDependencies": { "@types/jest": "^26.0.7", "axios": "^0.19.2", "jest": "^26.2.1", "prettier": "^2.0.5", "ts-jest": "^26.x.x", "ts-node": "^8.10.2", "ts-node-dev": "^1.0.0-pre.56", "tslint": "^6.1.2", "tslint-config-prettier": "^1.18.0", "typescript": "^3.9.7" } }