env-install
env-install copied to clipboard
How to support development only dependencies?
Hi. This is a great lib. Thanks a lot for maintaining it.
Would you please support dev-deps?
A use case - I need my private module for Types only.
Hi. Thanks ;)
Wouldn't you normally have access on the device where you do dev install?
Ha this is a typical (terrible) TypeScript on Heroku situation that the deployment steps consist of
-
npm install -D
-
npm run build
-
cd ./dist && npm i --production
-
cd ./dist && npm start
Without the dev deps support. Now my ./dist
build has all the TypeScript types dependencies installed while they are not used in PROD