0.1.10 • Published 9 years ago

npm-buildpack v0.1.10

Weekly downloads
85
License
-
Repository
github
Last release
9 years ago

npm-buildpack

Install or build node_modules from a cache

npm install -g npm-buildpack

Usage

After installing go to a node app and run

npm-buildpack my-app-id # my-app-id is $CACHE_ID

The script will do the following things

  1. If there already is a node_modules folder just run npm rebuild
  2. See if there is cache stored for $CACHE_ID. If so copy it to ./node_modules
  3. Prune the cache
  4. Run npm install --production
  5. Save ./node_modules to the cache

Primarily useful when your are deploying / building a node app on a remote server. This is similar to the heroku node.js buildpack except it only does npm stuff.

License

MIT

0.1.10

9 years ago

0.1.9

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.0

10 years ago

1.0.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago