TaskT
Task4y ago
3 replies
leaanthony

generates directive on `node_modules` directory

I'm trying to work out how to run
npm install
but only when the following is true:
package.json
has been updated OR
node_modules
directory doesn't exist.
I can make the first condition work but not both. Many thanks!
Was this page helpful?