I looked at the SO Packaging JavaScript & CSS
Now while this does offer 6 applications which can be used. It does not mention Grunt, Yoeman and NPM
Or, it addresses after packaging HOW do we deploy JavaScript
There is also Juicer
and maven Tools for JavaScript
Here are the takeaways as far as requirements are concerned.
- For best performance, CSS and JavaScript should be served up using as few requests and bytes as possible
- Minify JavaScript and CSS.
- Minimize number of HTTP Requests by combining several files (css, js) into one.
- Package Management Like what jamjs Provides
- Dependency Management
- Removal and Replacement of Packages
- Building Custom Packages
- Version Control
- Publishing
- Deployment
Can all of above be done with npm ? or just Grunt ? or a combination of the two ?