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

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -