jakejs / jake

JavaScript build tool, similar to Make or Rake. Built to work with Node.js.
http://jakejs.com
Apache License 2.0
1.97k stars 190 forks source link

How can I use npm packages within Jakejs? #341

Closed cmdematos closed 7 years ago

cmdematos commented 7 years ago

I want to include and call NPM modules and use these to extend the functionality of Jakejs, like svn module commands for example.

How can I achieve this?

mde commented 7 years ago

The easiest way would be just to use require in your Jakefile. Jakefiles are just executable JavaScript.