@creuna/react-scripts

6.2.1 • Public • Published

react-scripts

Functions for creating and editing React components.

We recommend running these from @creuna/cli.

If you want to use these functions from Node.js, this is the right module for you.

API

This module exports one object containing all the functions.

{
  newComponent, // Create new component
  newPage, // Create new static site page
  rename, // Rename component
  toStateful, // Convert component to stateful
  toStateless; // Convert component to stateless
}

Eslint config

If you have settings.react.version set in your eslint config, it's really important that the version follows the format described in the docs. If the wrong format is used, the scripts might not work.

Readme

Keywords

none

Package Sidebar

Install

npm i @creuna/react-scripts

Weekly Downloads

0

Version

6.2.1

License

MIT

Unpacked Size

31.7 kB

Total Files

24

Last publish

Collaborators

  • jeyloh
  • atlekri
  • mariuswatz
  • mw.olsen
  • simon-garden-beach
  • setalid