macOS ◆ xterm-256color-italic ◆ fish 544 views

React Scaffold

npm version JavaScript Style Guide

A slighlty opinionated React Scaffold Tool by Mike3run because we all hate repetition…

$ npm install rscaffold plop

Now in your plopfile.js

module.exports = plop => {
  plop.load('rscaffold')
}

In your package.json add this to your scripts:

"plop": "plop"

and finally in your terminal:

$ npm run plop

No need for global bamboozles.

Available Commands

  • component
  • container

Protip

Add a plugin to your terminal to run local npm bin executables like a boss:

I recommend add-local-binaries-to-path

$ npm install -g add-local-binaries-to-path

That’s it, never worry about local binaries again.

$ plop

Dab dab dab

Coming Soon…

Fuzzy finder when creating containers… most likely with inquirer-autocomplete-prompt

2017 Miguel Palau 🐟 Made with 💖 and hate for boilerplate 💀