Sunday, 30 April 2017

How can I use variables in package.json?

There is a feature from maven I miss a lot in package.json. In maven .pom file you can define variables in parent project and use them in child project's pom files.

Is there something like this in npm? We are building modular project and I want to define dependency versions centrally and them to be used in respective package.json files.

Thanks



via husayt

No comments:

Post a Comment