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