You can do things likenode server.js --name=$npm_package_nameand it will replace $npm_package_name with that name value in the package.jsonIf you have a nested object like the scripts object you can just use an underscore _ to reference it like $npm_package_scripts_testSeems useful and there's also this
Submitted January 14, 2016 at 02:52PM by mkmoshe
No comments:
Post a Comment