How to get started writing broccoli plugins
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
blueprint
tests
.gitignore
.travis.yml
README.md
appveyor.yml
package.json
yarn.lock

README.md

broccoli-plugin-kit

Build Status Build status

This repo is intended to serve as a starting point for developing Broccoli plugins.

Setup

To get started you can create a plugin by running:

node ./bin/create-plugin.js <plugin-name>

This will copy the contents of blueprint into a new directory with the given plugin-name as a sibling to this repo. If a directory already exists in that location, an error will be thrown. The script will also install dependencies by using Yarn and do an initial Git commit so that you can focus on development right from the start!

After the script, you can run:

cd ../plugin-name
npm test

And see that you have a working plugin with tests passing!