PATH:
usr
/
local
/
n
/
versions
/
node
/
12.14.1
/
lib
/
node_modules
/
npm
/
lib
/
install
/
action
'use strict' var Bluebird = require('bluebird') var lifecycle = Bluebird.promisify(require('../../utils/lifecycle.js')) var packageId = require('../../utils/package-id.js') var rmStuff = Bluebird.promisify(require('../../unbuild.js').rmStuff) module.exports = function (staging, pkg, log) { log.silly('unbuild', packageId(pkg)) return lifecycle(pkg.package, 'preuninstall', pkg.path, { failOk: true }).then(() => { return lifecycle(pkg.package, 'uninstall', pkg.path, { failOk: true }) }).then(() => { return rmStuff(pkg.package, pkg.path) }).then(() => { return lifecycle(pkg.package, 'postuninstall', pkg.path, { failOk: true }) }) }
[-] finalize.js
[edit]
[-] global-link.js
[edit]
[+]
..
[-] unbuild.js
[edit]
[-] refresh-package-json.js
[edit]
[-] postinstall.js
[edit]
[-] global-install.js
[edit]
[-] move.js
[edit]
[-] install.js
[edit]
[-] preinstall.js
[edit]
[-] remove.js
[edit]
[-] build.js
[edit]
[-] extract.js
[edit]
[-] extract-worker.js
[edit]
[-] fetch.js
[edit]
[-] prepare.js
[edit]