Reputation: 147
"cd client && npm install --only=dev && npm install && npm run build"
--only=dev
mean in package.json.Upvotes: 2
Views: 2268
Reputation: 8170
This controls whether development or production dependencies (and not both) are installed, as seen here:
The --only={prod[uction]|dev[elopment]} argument will cause either only devDependencies or only non-devDependencies to be installed regardless of the NODE_ENV.
Upvotes: 1