LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-stop

runs the stop script defined in package

TLDR

Stop application
$ npm stop
copy
Do not fail if no stop script exists
$ npm stop --if-present
copy
Pass arguments to the stop script
$ npm stop -- [--flag] [value]
copy

SYNOPSIS

npm stop [args...]

DESCRIPTION

npm stop runs the stop script defined in package.json. Executes prestop and poststop lifecycle scripts. Used to stop running server processes.

PARAMETERS

--if-present

Do not error if no stop script is defined.
--silent, --quiet
Suppress output from the spawned script.
--ignore-scripts
Skip pre/post lifecycle scripts.

SEE ALSO

Copied to clipboard
Kai