UNPKG

affiance

Version:

A configurable and extendable Git hook manager for node projects

16 lines (13 loc) 477 B
'use strict'; const PostCheckoutBase = require('./Base'); const SharedNpmOutdated = require('../shared/NpmOutdated'); /** * @class NpmOutdated * @extends PostCheckoutBase * @classdesc Run `npm outdated` if included files change * By default, the included files are `package.json` and `npm-shrinkwrap.json` */ class NpmOutdated extends PostCheckoutBase {} // Used the shared run function NpmOutdated.prototype.run = SharedNpmOutdated.run; module.exports = NpmOutdated;