JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 532
  • Score
    100M100P100Q85624F
  • License MIT

pack your node_modules as *.tgz files for version control and easy deploys

Package Exports

  • pac

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pac) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-pac

Pack your node_modules as *.tgz files for version control and easy deploys

Why?

Because commiting the node_modules into source control sucks. It kills diffs and makes code reviews shitty.

Installation

npm install -g pac

Usage

From a command prompt, run pac from your project's root directory.

You'll see a new .modules that contains gzipped tarballs of your dependencies. When deploying, you'll probably need a script that installs your modules from the .modules directory. npm natively supports installing them:

npm install .modules/mkdirp-v0.3.5.tgz