Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
utils
✏️
Editing: lifecycle.js
exports = module.exports = runLifecycle const lifecycleOpts = require('../config/lifecycle') const lifecycle = require('npm-lifecycle') function runLifecycle (pkg, stage, wd, moreOpts, cb) { if (typeof moreOpts === 'function') { cb = moreOpts moreOpts = null } const opts = lifecycleOpts(moreOpts) lifecycle(pkg, stage, wd, opts).then(cb, cb) }
💾 Save Changes
❌ Cancel