read-package-json icon indicating copy to clipboard operation
read-package-json copied to clipboard

Intercept NPM's reading of `package.json`

Open Download opened this issue 9 years ago • 0 comments

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.

Download avatar Sep 02 '16 15:09 Download