affiance
Version:
A configurable and extendable Git hook manager for node projects
16 lines (13 loc) • 474 B
JavaScript
;
const PostRewriteBase = require('./Base');
const SharedNpmOutdated = require('../shared/NpmOutdated');
/**
* @class NpmOutdated
* @extends PostRewriteBase
* @classdesc Run `npm outdated` if included files change
* By default, the included files are `package.json` and `npm-shrinkwrap.json`
*/
class NpmOutdated extends PostRewriteBase {}
// Used the shared run function
NpmOutdated.prototype.run = SharedNpmOutdated.run;
module.exports = NpmOutdated;