svizzle
svizzle copied to clipboard
Use `--if-present` with `npm run` where needed
You can use the --if-present flag to avoid exiting with a non-zero exit code when the script is undefined. This lets you run potentially undefined scripts without breaking the execution chain.
https://docs.npmjs.com/cli/v7/commands/npm-run-script#if-present