Utility scripts for React projects


106.2.12 years ago3 years agoMinified + gzip package size for @creuna/react-scripts in KB



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.


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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.