pack your node_modules as *.tgz files for version control and easy deploys
Want to see pretty graphs? Log in now!
npm install pac
|3||downloads in the last day|
|13||downloads in the last week|
|38||downloads in the last month|
|Last Published By|
|Version||0.0.3 last updated 5 months ago|
|Keywords||module, packaging, deploy|
|Dependencies (6)||rmrf, mkdirp, glob, tar.gz, async, underscore|
|Starred by||brianloveswords, piotrlewandowski|
Pack your node_modules as *.tgz files for version control and easy deploys
Because commiting the
node_modules into source control sucks. It kills
diffs and makes code reviews shitty.
npm install -g pac
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
npm install .modules/mkdirp-v0.3.5.tgz