https://github.com/danger/generator-danger-plugin
Yeoman generator to generate a Danger plugin
https://github.com/danger/generator-danger-plugin
danger danger-js danger-plugin yeoman yeoman-generator
Last synced: 5 months ago
JSON representation
Yeoman generator to generate a Danger plugin
- Host: GitHub
- URL: https://github.com/danger/generator-danger-plugin
- Owner: danger
- License: mit
- Created: 2017-05-16T20:11:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-22T19:35:40.000Z (over 3 years ago)
- Last Synced: 2024-10-16T19:15:28.918Z (12 months ago)
- Topics: danger, danger-js, danger-plugin, yeoman, yeoman-generator
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 8
- Watchers: 5
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# generator-danger-plugin
[](https://travis-ci.org/danger/generator-danger-plugin)
[](https://www.npmjs.com/package/generator-danger-plugin)
[](https://github.com/semantic-release/semantic-release)
[](https://greenkeeper.io/)> Yeoman generator to generate a [Danger](https://github.com/danger/danger-js) plugin
## Usage
Install `yo`, this generator, and [semantic-release-cli](https://github.com/semantic-release/cli):
```sh
$ npm i -g yo generator-danger-plugin semantic-release-cli
```Run the generator and follow the prompts to create a Danger plugin:
```sh
$ yo danger-plugin
```This will create a new directory ready for Danger plugin development with the following technologies:
* [Babel](https://babeljs.io/) or [TypeScript](http://www.typescriptlang.org)
* [Jest](http://facebook.github.io/jest/)
* [semantic-release](https://github.com/semantic-release/semantic-release) for simple NPM package deployment from [Travis CI](https://travis-ci.org/)Once the directory is bootstrapped and dependencies are installed (with [Yarn](https://yarnpkg.com/en/) or NPM), this generator will also globally install [semantic-release-cli](https://github.com/semantic-release/cli) and kick off that setup process for you.
## Changelog
See the GitHub [release history](https://github.com/danger/generator-danger-plugin/releases).
## License, Contributor's Guidelines and Code of Conduct
See [CONTRIBUTING.md](CONTRIBUTING.md) for more information about contributing to this project.
We try to keep as much discussion as possible in GitHub issues, but also have a pretty inactive Slack -- if you'd like an invite, ping [@Orta](https://twitter.com/orta/) a DM on Twitter with your email. It's mostly interesting if you want to stay on top of Danger without all the emails from GitHub.
> This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs.
>
> This project subscribes to the [Moya Contributors Guidelines](https://github.com/Moya/contributors) which TLDR: means we give out push access easily and often.
>
> Contributors subscribe to the [Contributor Code of Conduct](http://contributor-covenant.org/version/1/3/0/) based on the [Contributor Covenant](http://contributor-covenant.org) version 1.3.0.