Saner npm for caching, production artefacts and versionning and maybe more
This is just a spec !
Follow the discussion on Twitter : https://twitter.com/bluxte/status/760221192473149440
There is a local cache such as ~/.better-npm/repository or %AppData%/better-npm/repository. It contains versions directories as with maven. This cache contains prod files and package.json
/repository/angularjs/1.5.2/ - angularjs-1.5.2.prod.js - package.json /1.4.3/ /repository/backbonejs/1.2.2/
We just want to download a file that encapsulate its dependencies. The problem is how to handle the
require() problem in browser, or ES6 modules with node 4.
I have no idea, but some people says Gradle is good.