package.json
{
"name": "mongoose-history-trace",
"author": {
"email": "welington.rmonteiro@gmail.com",
"name": "Welington Monteiro"
},
"version": "2.1.0",
"description": "Generate history logs operations mongoose (delete, update, create).",
"repository": {
"type": "git",
"url": "git+https://github.com/WelingtonMonteiro/mongoose-history-trace.git"
},
"bugs": {
"url": "https://github.com/WelingtonMonteiro/mongoose-history-trace.git/issues"
},
"homepage": "https://github.com/WelingtonMonteiro/mongoose-history-trace.git#readme",
"keywords": [
"mongoose",
"plugin",
"history",
"logs",
"audit",
"auditory",
"tracer",
"schema",
"diff",
"difference"
],
"license": "MIT",
"engines": {
"node": ">=8",
"mongoose": ">4.10.17 <6.0.0"
},
"devDependencies": {
"bluebird": "*",
"chai": "*",
"chai-subset": "*",
"coveralls": "*",
"mocha": "*",
"nyc": "*",
"should": "*",
"sinon": "*",
"sinon-test": "*",
"snazzy": "*",
"standard": "*"
},
"dependencies": {
"deep-diff": "1.0.2",
"lodash": "4.17.21",
"mongoose": "5.10.15"
},
"main": "index.js",
"scripts": {
"test": "npm run fix-lint && npm run lint && npm run mocha",
"test-coverage": "npm run test && npm run coverage",
"coverage": "NODE_ENV=test nyc npm run mocha",
"mocha": "NODE_ENV=test mocha --file \"./test/setup.js\" \"./test/**/*-spec.js\" -R spec --exit",
"fix-lint": "standard --fix",
"lint": "standard --verbose | snazzy",
"release": "git pull && git push origin master --tags && npm publish",
"test-cov": "nyc --reporter=html --reporter=text npm test",
"inc_patch": "yarn version --patch",
"inc_minor": "yarn version --minor",
"inc_major": "yarn version --major"
},
"nyc": {
"all": true,
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80,
"cache": true,
"check-coverage": true,
"exclude": [
"test",
"coverage",
"node_modules",
"index.js"
],
"extension": [],
"report-dir": "coverage",
"include": [
"lib/**/*.js"
],
"per-file": false,
"reporter": [
"lcov",
"text",
"text-summary",
"html",
"lcovonly"
],
"require": [],
"watermarks": {
"branches": [
80,
95
],
"functions": [
80,
95
],
"lines": [
80,
95
],
"statements": [
80,
95
]
}
},
"standard": {
"globals": [
"describe",
"it",
"after",
"before",
"afterEach",
"beforeEach",
"context",
"expect",
"sinon",
"chai"
],
"ignore": [
"test/"
]
}
}