skip to navigation
skip to content

Not Logged In

rodacom.buildout.npm 0.1

A buildout recipe to install NodeJS packages locally using npm

Latest Version: 0.5

A zc.buildout recipe to install NodeJS packages locally using npm.

This recipe will install wanted packages in the local node_modules directory, and create a link to binaries in the buildout bin directory.

Options

packages:required, a list of package names to install (can specify a version with the syntax name@version).
node_path:absolute path to the node executable, by default the bin/node in buildout directory.
npm_path:absolute path to the npm executable, by default the bin/npm in buildout directory.

Examples

Using a locally compiled NodeJS:

[nodejs]
recipe = zc.recipe.cmmi
url = http://nodejs.org/dist/v0.10.21/node-v0.10.21.tar.gz
bin_node = ${buildout:parts-directory}/nodejs/bin/node
bin_npm = ${buildout:parts-directory}/nodejs/bin/npm

[coffee]
recipe = rodacom.buildout.npm
node_path = ${nodejs:bin_node}
npm_path = ${nodejs:bin_npm}
packages =
    coffee-script@1.6.3
 
File Type Py Version Uploaded on Size
rodacom.buildout.npm-0.1.tar.gz (md5) Source 2013-12-31 1KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 93 downloads in the last week
  • 500 downloads in the last month