boot-npm
Node Package Manager (NPM) wrapper for boot-clj.
- Provides
npm
task for installing node modules. - Provides
exec
task for executing node modules. (auto-installs local module)
The following outlines basic usage of the task, extensive testing has not been done. Please submit issues and pull requests!
Usage
Add boot-npm
to your build.boot
dependencies and require
the namespace:
(set-env! :dependencies '[[degree9/boot-npm "X.Y.Z" :scope "test"]])
(require '[degree9.boot-npm :refer :all])
Use npm to install bower:
boot {task} {args}
Use in a wrapper task:
(boot/deftask mytask
""
[...]
(let [...]
(comp
{task-fn})))
##Task Options
{options-description}
{options}
{options-notes}