generator-toy

A generator for toy problems with the tools you love: Mocha, Chai and JSHint

Usage no npm install needed!

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

README

generator-toy

Yeoman generator generating a base template to start a Toy Problem.

Getting started

  • Install: $ npm install --global generator-toy
  • Run: $ yo toy

Options

Here's a list of our supported options:

  • name (String, default toyproblem-boilerplate) Project name.
  • version (String, default 0.0.0) Project version.
  • description (String) Project description.
  • authorName (String) Author name.
  • authorEmail (String) Author email.
  • authorUrl (String) Author homepage url.

What do you get?

Scaffolds out a complete Toy Problem exercise with JavaScript Testing and Linting support:

.
├── .git
├── .gitignore
├── LICENSE
├── README.md
├── index.js
├── package.json
└── test.js

Running Tests

Run $ npm test to run your test suite.

License

MIT License © 2015, Joao Stein.