brp-depend
Adds dependencies to your brp project
Install
Make sure you have the latest version of Node installed first!
npm install brp-depend --save
Then you can add brp-depend to your build pipeline.
const Dependencies = ...let depend = dependbrp
Documentation
constructor(opts)
Option | Description | Default |
---|---|---|
dest |
the destination folder for downloaded dependencies | 'src' |
task |
the prefix for the tasks generated by brp-depend | 'install' |
mode |
where to put the file prefix for each file, can be dir-before , dir-after , or file |
'dir-after' |
dependencies |
equivalent to calling dependOn(name, url) |
{} |
Dependencies.dependOn(name, url)
Creates a dependency that is installed when running install
or install-<name>
.
Dependencies.plugin
Pass this to brp.use(plugin)