Install yeoman and our generator from npm:
$ npm install -g yo generator-clappr-plugin
Create a directory for your plugin:
$ mkdir your-awesome-plugin && cd your-awesome-plugin
Initiate the generator:
$ yo clappr-plugin
In general, we follow the fork-and-pull git workflow:
- Fork the repository on GitHub
- Commit changes to a branch in your fork
- Pull request "upstream" with your changes
- Merge changes in to "upstream" repoository
To use your generator development version:
In the project root, link your development package:
$ npm link
Then when you run yo clappr-plugin
it will use your local package.