UNPKG

@ifit/mongoose-dao

Version:

Mongo helper methods for working with data in a DAO or repository pattern

65 lines (64 loc) 2.09 kB
{ "name": "@ifit/mongoose-dao", "version": "3.1.1", "description": "Mongo helper methods for working with data in a DAO or repository pattern", "author": "iFit", "license": "ISC", "main": "out/index.js", "typings": "out/index.d.ts", "files": [ "out/" ], "scripts": { "clean": "rm -rf coverage; rm -rf out;", "build": "npm run clean; tsc -p .", "watch": "npm run clean; tsc -p . -w", "lint": "yarn lint:prettier && yarn lint:eslint", "lint:ci": "eslint . --quiet", "lint:prettier": "prettier --ignore-path .gitignore --write \"./src/**/*.ts\" \"*.json\"", "lint:eslint": "eslint --ignore-path .gitignore --fix 'src/**/*.ts'", "test": "jest --config=jest.config.ts --runInBand --detectOpenHandles", "test-cov": "jest --config=jest.config.ts --runInBand --detectOpenHandles --coverage", "prepare": "./node_modules/.bin/install-self-peers -- --ignore-scripts" }, "dependencies": { "@ifit/dalton-mongoose": "^3.2.1", "@ifit/mongoose-clean": "^1.1.0", "mongoose": "^5.1.0", "mongoose-timestamp2": "^0.1.10" }, "devDependencies": { "@ifit/eslint-config-node-ts": "^2.2.3", "@ifit/prettier-config": "^1.0.1", "@jest/schemas": "^29.6.3", "@jest/types": "^29.6.3", "@team-griffin/install-self-peers": "^1.1.1", "@types/jest": "^29.5.8", "@types/mongoose": "^5.0.13", "@types/node": "^10.0.8", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "eslint": "^8.53.0", "eslint-plugin-jsdoc": "^46.9.0", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-unused-imports": "^3.0.0", "jest": "^29.7.0", "mongodb-memory-server": "^6.6.1", "prettier": "^3.0.3", "reflect-metadata": "^0.1.12", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.2.2" }, "peerDependencies": { "inversify": "^4.13.0", "mongoose": "^5.1.0", "reflect-metadata": "^0.1.12" }, "config": { "mongodbMemoryServer": { "debug": "0" } } }