Closed ghost closed 8 years ago
NPM is clever enough, to find gulp in projects node_modules folder.
node_modules
Just add a gulp script into scripts section.
{ "scripts": { "start": "gulp serve", "open": "gulp open", "gulp": "gulp" } }
Now its possible to execute npm run gulp dist without having gulp (or anything else) installed globally. No version conflict between projects anymore. We need to remove global dendencies everywhere.
npm run gulp dist
Thanks, had no idea you could do this!
NPM is clever enough, to find gulp in projects
node_modules
folder.Just add a gulp script into scripts section.
Now its possible to execute
npm run gulp dist
without having gulp (or anything else) installed globally. No version conflict between projects anymore. We need to remove global dendencies everywhere.