visual studio 2015 - configure a different path per client deps in npm -


in asp.net core project client files must copied under approot directory deployed correctly: jspm let define proper directory client deps, npm have copy files node_modules directory approot\node_modules using gulp task.
since i'm not interested in filtering or manipulating files before deploy, files in installed module deployed, there way without use gulp ?

you can use npm that. add script package.json:

  "scripts": {       "copy": "xcopy to"   } 

then can call npm run-script copy have executed. used xcopy example, can use whatever like. there more documentation scripts in npm.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -