UNPKG

mongoose-document-versioner

Version:

Force version to increment every time you update or save a mongoose document

43 lines (42 loc) 1.11 kB
{ "name": "mongoose-document-versioner", "version": "2.0.0", "description": "Force version to increment every time you update or save a mongoose document", "main": "src/", "scripts": { "test": "npm run eslint && npm run mocha --", "eslint": "eslint src/. test/. --config .eslintrc.json", "mocha": "NODE_ENV=test mocha test/", "test:watch": "npm run test -- --watch" }, "repository": { "type": "git", "url": "git+https://github.com/goodeggs/mongoose-document-versioner.git" }, "keywords": [ "mongodb", "mongoose", "plugin", "version", "versioner", "__v" ], "author": "Good Eggs Inc.", "contributors": [ "Max Edmands <max@goodeggs.com>", "Jonathon Hill <jhill9693@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/goodeggs/mongoose-document-versioner/issues" }, "homepage": "https://github.com/goodeggs/mongoose-document-versioner#readme", "devDependencies": { "eslint": "^3.19.0", "mocha": "^2.5.3", "mongoose": "^4.5.3" }, "dependencies": { "lodash.set": "^4.3.2" } }