Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stop.js « lib - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 766d9c01815cd400759a5fb48efb861dcd3816a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const LifecycleCmd = require('./utils/lifecycle-cmd.js')

// This ends up calling run-script(['stop', ...args])
class Stop extends LifecycleCmd {
  /* istanbul ignore next - see test/lib/load-all-commands.js */
  static get description () {
    return 'Stop a package'
  }

  /* istanbul ignore next - see test/lib/load-all-commands.js */
  static get name () {
    return 'stop'
  }
}
module.exports = Stop