Conversation
|
Thanks @mojoaxel for your suggestion.
Only Actually, the documentation is wrong, it should be: > npm install
> npm install -g gulp-cli
I don't like the idea of mixing npm and gulp commands, it's confusing and at some point we will be asked to duplicate gulp commands to npm, which is useless and require more maintenance. Also, I don't think |
I had a lot of problems getting this to run with my current node (nvm) setup. 😡 To be honest I'm not a big fan of installing things globally, but I guess that is a I'll fix at least the docs...
I see 😐 |
|
Ok, at least I fixed the docs 😉 |
|
Thanks @mojoaxel I'm not fan either of installing stuff globally :) but I think it works pretty well for |
|
Thanks @mojoaxel |
Update the docs so that only gulp-cli is installed globally
This makes it possible to use the local version of gulp (from
node_modeues/gulp) to build the library.The current builds e.g.
gulp buildof course still work if gulp is globally installed. If gulp is only installed locally vianpm installthan the user should usenpm run gulpto do the same.This way it is possible to use different versions of gulb for different projects.
I also added the common npm build scripts:
npm startandnpm test, because they are a common go-to for new developers.I hope you like these suggestions