Inside package.json, is it possible to test if node_modules directory exists?
My goal is to print a message if node_module does not exists, something like:
node_module not existent: use npm run dist
where dist is a script inside scripts of my package.json.
Thank you.