node.js - Execute script after package installation -
now, there postinstall
run script after
npm install
however, looking way run script after installing single package
npm install jquery --save
is possible? if so, work on windows , there way name of installed package (jquery
in given example)?
i'm don't see on package.json
features.
it therefore possible in prestart instance jquery won't in devdependencies way:
{ ... "devdependencies": { "bower": "1.3.x", "uglifyjs": "2.4.10", ... other dependencies }, "scripts": { "prestart": "npm install jquery@#.#.# ; <yourcommand> ; npm install", ... } }
Comments
Post a Comment