npm: only install production dependencies

2023-01-23

In a production environment, you should not need node_dependencies from listed in the devDependencies section of your package.json.

NODE_ENV=production npm ci will only install dependencies listed in dependencies of your package.json. devDependencies will not be installed.

Alternative: use npm ci --omit=dev