5 ms·
I'm a big fan of npm and modular code. - npm to manage dependencies and versions - npm-scripts to handle basic build tasks - beefy during module developm
by mattdesl 12y ago
I'm a big fan of npm and modular code.
- npm to manage dependencies and versions
- npm-scripts to handle basic build tasks
- beefy during module development
(when a bundle isn't necessary)
- watchify & browserify/uglifyjs during app development
(when a bundle is necessary)
- gulp if the project is more involved (LESS, etc)
- grunt if the project is with a team
- tape / tap for testing, and testlingify for the git hook
I try to avoid bower since it's no good for re-usable modules. But sometimes you can't avoid it (e.g. threejs, pixi).
- Kiro 12y agoWhy is grunt better than gulp for teams?
- mattdesl 12y agoBecause it's been around for longer; new devs are more likely to be familiar with it, easier to find tutorials/docs on the web, better stability, more tasks to choose from, etc. They are both good though... it won't make a big difference if you choose one over the other.
- pault 12y agoThis is the exact workflow I've settled on. NPM run scripts until the build complexity gets overwhelming, then build a grunt or gulp taskfile. Tape is awesome.