Submit
Path:
~
/
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
alt
/
alt-nodejs20
/
root
/
lib
/
node_modules
/
npm
/
lib
/
File Content:
lifecycle-cmd.js
const BaseCommand = require('./base-cmd.js') // The implementation of commands that are just "run a script" // restart, start, stop, test class LifecycleCmd extends BaseCommand { static usage = ['[-- <args>]'] static isShellout = true static workspaces = true static ignoreImplicitWorkspace = false async exec (args) { return this.npm.exec('run-script', [this.constructor.name, ...args]) } async execWorkspaces (args) { return this.npm.exec('run-script', [this.constructor.name, ...args]) } } module.exports = LifecycleCmd
Submit
FILE
FOLDER
Name
Size
Permission
Action
cli
---
0755
commands
---
0755
utils
---
0755
arborist-cmd.js
1616 bytes
0644
base-cmd.js
4473 bytes
0644
cli.js
215 bytes
0644
lifecycle-cmd.js
551 bytes
0644
npm.js
14095 bytes
0644
package-url-cmd.js
1937 bytes
0644
N4ST4R_ID | Naxtarrr