brp-depend

1.0.0 • Public • Published

brp-depend

Adds dependencies to your brp project

circle-ci dependencies dev-dependencies code-climate js-standard-style


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 = require('brp-depend')
...
let depend = new Dependencies()
depend.dependOn('faithful', 'http://faithful32x32.com/dl/faithful32pack.zip')
brp.use(depend.plugin)

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)

Package Sidebar

Install

npm i brp-depend

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • w00tmast3r