Skip to main content

ZC Buildout recipe for node.js

Project description

Detailed Documentation

Supported options

The recipe supports the following options:

url

url used to get the node.js tarball

npms

a list of package to install with npm

scripts

a list of scripts

node-path

a list of extra directory to add to NODE_PATH

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = gp.recipe.node
... npms = coffee-script less
... scripts = coffee lessc
... """)

Running the buildout gives us:

>>> print 'start', system(buildout)
start...
Installing test1.
...
Generated script '.../bin/lessc'.

Contributors

Gael Pasgrimaud, Author

Change history

0.3

  • Change npm install script location [Ross Pfahler]

0.1

  • Created recipe with ZopeSkel [Gael Pasgrimaud]

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gp.recipe.node-0.3.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page