generator-fly

Fly plugin template generator

Usage no npm install needed!

<script type="module">
  import generatorFly from 'https://cdn.skypack.dev/generator-fly';
</script>

README

generator-fly

npm package

Official Yeoman generator for creating Fly plugins.

Install

$ npm i -g generator-fly

Note: You need to install Yeoman to use this package.

Usage

$ mkdir fly-cool-plugin
$ cd fly-cool-plugin
$ yo fly

Note: This will run in your current directory! Please create & enter a new folder before running yo fly.

Features

  • Choice of test runners: AVA, Jasmine, Mocha, Tape
  • JavaScript Linting via XO
  • TravisCI config
  • Automatic Git Repo initialization

:warning: Don't forget to add a remote origin to your repo!

Output

|-- fly-cool-plugin
|   |-- .editorconfig
|   |-- .gitignore
|   |-- .travis.yml
|   |-- CHANGELOG.md (optional)
|   |-- index.js
|   |-- LICENSE
|   |-- package.json
|   |-- README.md
|   |-- test
|   |   |-- index.js
|   |   |-- fixtures
|   |   |   |-- foo.js

License

MIT © The Fly Team :heart: