1 year ago

#357776

test-img

user3260639

How to tell if a package is part of deployment

I have a react application. I'm using react-scripts build. As I understand (from this link), the package-lock.json doesn't affect the build and the build will take any packages it needs that are imported in the files (regardless if they are dev dependencies or not). How can I check if a certain package was installed on a deployed environment? The reason why I'm asking is that we want to verify that no dev dependencies or any of it sub dependencies are part of deployment to customers.

javascript

reactjs

typescript

npm

react-scripts

0 Answers

Your Answer

Accepted video resources