read-package-json
read-package-json copied to clipboard
Intercept NPM's reading of `package.json`
Is it possible to intercept the process by which NPM reads package.json so I can do some processing on it? I have some stuff I would like to try out with that, if it's possible. What I would like is to intercept commands like
$ npm run start
so I get the chance to do some processing on package.json before NPM sees the results.