generator-nome

1.0.1 • Public • Published

generator-nome

Scaffold out a node module with xo JS style linter, Flow type checking and Jest for testing

Personal generator for scaffolding npm modules. I use xo for linting JavaScript, Flow for type checking and Jest for testing.

Installation

First, install Yeoman and generator-nome using yarn (we assume you have pre-installed node.js).

yarn global add yo
yarn global add generator-nome

Then generate your new project:

yo nome

There are multiple command-line options available:

Usage:
  yarn test                 # It will run xo, flow and jest to test your code
  yarn prepublish           # Compile code with babel from src/ to lib/ and copy type definitions from .js and create file with .flow suffix

Inspired by generator-nm.

License

MIT © Vedran Blazenka

Package Sidebar

Install

npm i generator-nome

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • vblazenka