sane-pm

Saner npm for caching, production artefacts and versionning and maybe more


Keywords
npm, cache, minify
License
MIT
Install
npm install sane-pm@0.0.1

Documentation

sane-pm

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

Caching

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/

Prod files

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.

Versionning

I have no idea, but some people says Gradle is good.