UNPKG

mongoose-transaction-decorator

Version:
60 lines (59 loc) 1.54 kB
{ "name": "mongoose-transaction-decorator", "version": "1.0.1", "description": "mongoose transaction decorator", "keywords": [ "mongoose", "transaction", "decorator", "typescript", "plugin", "mongodb", "transactions", "transactional", "annotation", "nodejs" ], "author": "GO_DIE", "private": false, "license": "MIT", "files": [ "build" ], "main": "./build/index.js", "types": "./build/index.d.ts", "repository": { "type": "git", "url": "https://github.com/GO-DIE/mongoose-transaction-decorator" }, "scripts": { "prepare": "husky install", "build": "rm -rf build & tsc --project tsconfig.build.json", "prepublish": "npm run build", "format": "prettier --write \"*.ts\" \"**/*.+(json|yaml)\"", "lint": "eslint \"**/*.ts\" --fix", "test": "sh ./scripts/build.sh & jest --coverage & sh ./scripts/clean.sh" }, "dependencies": { "mongodb": "^4.11.0", "mongoose": "^6.7.0" }, "devDependencies": { "@commitlint/cli": "^16.2.1", "@commitlint/config-angular": "^16.2.1", "@types/jest": "^27.4.1", "@types/node": "^17.0.21", "@typescript-eslint/eslint-plugin": "^5.14.0", "@typescript-eslint/parser": "^5.14.0", "eslint": "^8.10.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.4", "jest": "^27.5.1", "lint-staged": "^12.3.5", "prettier": "^2.5.1", "ts-jest": "^27.1.3", "ts-node": "^10.7.0", "typescript": "^4.6.2" } }