UNPKG

@expander/mongoose-tracker

Version:

Is a mongoose plugin that automatically keeps track of when the document has been created, updated and optionally when some fields have been modified

83 lines (82 loc) 2.48 kB
{ "name": "@expander/mongoose-tracker", "version": "1.7.1", "description": "Is a mongoose plugin that automatically keeps track of when the document has been created, updated and optionally when some fields have been modified", "main": "./build/index.js", "types": "./build/index.d.ts", "module": "./build/index.es.js", "author": "Vituli <vituli@expander.com>", "license": "Apache-2.0", "keywords": [ "mongoose", "plugin", "timestamp", "created", "updated", "changed" ], "bugs": { "url": "https://github.com/expandertech/mongoose-tracker/issues", "email": "vituli@expander.com" }, "repository": "https://github.com/expandertech/mongoose-tracker", "files": [ "build" ], "scripts": { "build": "rollup -c", "clean": "rimraf build", "peer": "add-no-save --peer-deps", "lint": "eslint --ext .js,.ts,.tsx src", "test": "./node_modules/.bin/jest --forceExit", "lint:fix": "eslint --fix --ext .js,.ts,.tsx src" }, "engines": { "npm": ">=6.4.0", "node": ">=20.0.0" }, "peerDependencies": { "mongoose": "^6.1.5" }, "dependencies": { "lodash": "^4.17.21" }, "devDependencies": { "@babel/core": "^7.16.7", "@faker-js/faker": "^6.0.0-alpha.5", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.1.3", "@rollup/plugin-typescript": "^8.3.0", "@types/jest": "^27.4.0", "@types/lodash": "^4.14.178", "@types/mongoose": "^5.11.97", "@typescript-eslint/eslint-plugin": "^5.9.0", "babel-loader": "^8.2.3", "eslint": "^8.6.0", "eslint-config-standard": "^16.0.3", "eslint-config-standard-with-typescript": "^21.0.1", "eslint-define-config": "^2.1.0", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jest": "^25.3.4", "eslint-plugin-n": "^17.15.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-standard": "^5.0.0", "husky": "^7.0.4", "jest": "^27.4.7", "mongodb-memory-server": "^8.1.0", "mongoose": "^6.1.5", "rimraf": "^3.0.2", "rollup": "^2.63.0", "rollup-plugin-dts": "^4.1.0", "rollup-plugin-filesize": "^9.1.2", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-terser": "^7.0.2", "ts-jest": "^27.1.2", "ts-standard": "^11.0.0", "typescript": "^4.5.4", "yarn-add-no-save": "^1.0.3" } }