Support package.json vars
egoist opened this issue · 3 comments
egoist commented
Tho I rarely use this feature https://docs.npmjs.com/cli/v8/using-npm/scripts#packagejson-vars
egoist commented
I will implement this if >= 10 people 👍 this issue
sasial-dev commented
Looks like we're up to 20!
vjpr commented
I need this for npm_lifecycle_event
and npm_lifecycle_script
.
It lets me do npm run watch
, and have scripts.watch = my-scripts
...and then I can figure out what to run. create-react-app might also use this.