随着npm 3带有扁平(-ish)依赖结构,我们是否会在未来使用Bower,或者在发布时仅使用npm 3?
npm is most commonly used for managing Node.js modules,but it works for the front-end too when combined with Browserify and/or $npm dedupe.
Bower is created solely for the front-end and is optimized with that
in mind. The biggest difference is that npm does nested dependency
tree (size heavy) while Bower requires a flat dependency tree (puts
the burden of dependency resolution on the user)