UNPKG

lp-audit

Version:

Adds comprehensive audit trail functionality to Loopback by keeping track of who created/modified/deleted data and when they did it, and adds a revisions model compatible with Sofa/Revisionable for PHP (https://github.com/jarektkaczyk/revisionable)

91 lines (90 loc) 2.51 kB
{ "name": "lp-audit", "version": "0.4.3", "description": "Adds comprehensive audit trail functionality to Loopback by keeping track of who created/modified/deleted data and when they did it, and adds a revisions model compatible with Sofa/Revisionable for PHP (https://github.com/jarektkaczyk/revisionable)", "main": "src/index.js", "scripts": { "preversion": "npm test", "compile": "projectz compile && gulp babel", "prepublish": "npm run compile", "pretest": "eslint ./src/*.js && gulp babel", "test": "nyc tap ./test/*.js", "watch": "gulp", "coverage": "nyc report --reporter=text-lcov | coveralls", "outdated": "npm outdated --depth=0" }, "keywords": [ "loopback", "strongloop", "mixin", "soft", "delete", "audit", "trail", "timestamp", "revisions" ], "author": "Edzordzinam Dagadu (edzordzinam@gmail.com)", "badges": { "list": [ "travisci", "npmversion", "npmdownloads" ], "config": {} }, "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/elvisdagadu/loopback-auditz.git" }, "babel": { "presets": [ "es2015" ], "plugins": [ "transform-object-assign", "transform-es2015-modules-commonjs" ] }, "peerDependencies": { "loopback-component-remote-ctx": "^0.2.2" }, "dependencies": { "babel-runtime": "^6.x", "debug": "2.x" }, "devDependencies": { "babel-core": "^6.23.1", "babel-istanbul": "^0.5.8", "babel-plugin-add-module-exports": "^0.1.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", "babel-plugin-transform-object-assign": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.1.18", "babel-plugin-transform-runtime": "^6.1.18", "babel-preset-es2015": "^6.22.0", "babel-register": "^6.26.0", "coveralls": "latest", "eslint": "^1.9.0", "eslint-config-airbnb": "^1.0.0", "eslint-plugin-react": "^3.9.0", "gulp": "^3.9.0", "gulp-babel": "^6.1.2", "gulp-sourcemaps": "^2.4.1", "loopback": "^3.4.0", "loopback-boot": "^2.23.0", "loopback-component-remote-ctx": "latest", "loopback-datasource-juggler": "^3.1.1", "nyc": "latest", "projectz": "^1.3.2", "supertest": "^2.0.1", "tap": "latest" }, "maintainers": [], "contributors": [ "Edzordzinam D. <edzordzinam@gmail.com>" ], "bugs": { "url": "https://github.com/elvisdagadu/loopback-auditz/issues" } }