UNPKG

monguito

Version:

MongoDB Abstract Repository implementation for Node.js

100 lines (99 loc) 2.71 kB
{ "name": "monguito", "version": "6.1.3", "description": "MongoDB Abstract Repository implementation for Node.js", "author": "Josu Martinez <josu.martinez@gmail.com>", "license": "MIT", "homepage": "https://github.com/josuto/monguito#readme", "repository": { "type": "git", "url": "git+https://github.com/josuto/monguito.git" }, "bugs": { "url": "https://github.com/josuto/monguito/issues", "email": "josu.martinez@gmail.com" }, "engines": { "node": ">=18.18.0" }, "keywords": [ "node", "nodejs", "node.js", "nest", "nestjs", "nest.js", "repository", "abstract repository", "generic repository", "custom repository", "repository pattern", "polymorphic", "polymorphism", "polymorphic repository", "polymorphic pattern", "mongo", "mongodb", "mongoose", "mongoosejs", "mongoose.js" ], "type": "module", "source": "./src/index.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/repo.cjs", "default": "./dist/repo.modern.js" } }, "main": "./dist/repo.cjs", "module": "./dist/repo.module.js", "unpkg": "./dist/repo.umd.js", "files": [ "dist" ], "types": "./dist/index.d.ts", "scripts": { "prebuild": "rimraf dist", "build": "microbundle", "build:dev": "microbundle watch", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", "test:e2e": "jest --config examples/nestjs-mongoose-book-manager/test-util/jest-e2e.json", "prepare": "husky" }, "peerDependencies": { "mongoose": ">= 8.0.0" }, "dependencies": { "typescript-optional": "3.0.0-alpha.3" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/mongoose-unique-validator": "^1.0.9", "@types/node": "^22.10.1", "@typescript-eslint/eslint-plugin": "^8.17.0", "@typescript-eslint/parser": "^8.17.0", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-no-only-or-skip-tests": "^2.6.2", "eslint-plugin-prettier": "^5.2.1", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.2.10", "microbundle": "^0.15.1", "mongodb-memory-server": "^10.1.2", "mongoose": "^8.8.4", "mongoose-unique-validator": "^4.0.1", "prettier": "^3.4.2", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.7.2" } }