preinstall.js 272 B

12345678
  1. 'use strict'
  2. var lifecycle = require('../../utils/lifecycle.js')
  3. var packageId = require('../../utils/package-id.js')
  4. module.exports = function (staging, pkg, log, next) {
  5. log.silly('preinstall', packageId(pkg))
  6. lifecycle(pkg.package, 'preinstall', pkg.path, next)
  7. }