Ever need to install your
devDependencies in a CI environment but the environment wants to install only
dependencies? Here's how to fix it:
npm install --include=dev
You can also omit dependencies with the
You can use the options
peer in both these flags.
Hope that saves you a few minutes, as it did me! 🍻
Hat tip to Ben McCann on the Svelte Discord for pointing me in the right direction!