File Explorer

/var/lang/lib/node_modules/npm/lib

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

3 dirs
7 files
lifecycle-cmd.js537 B · 21 lines
const BaseCommand = require('./base-cmd.js') // The implementation of commands that are just "run a script"// restart, start, stop, testclass LifecycleCmd extends BaseCommand {  static usage = ['[-- <args>]']  static isShellout = true  static workspaces = true  static ignoreImplicitWorkspace = false   async exec (args) {    return this.npm.exec('run', [this.constructor.name, ...args])  }   async execWorkspaces (args) {    return this.npm.exec('run', [this.constructor.name, ...args])  }} module.exports = LifecycleCmd