install.js 266 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('install', packageId(pkg))
  6. lifecycle(pkg.package, 'install', pkg.path, next)
  7. }