Socket
Socket
Sign inDemoInstall

@reedsa/react-scripts

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reedsa/react-scripts

Configuration and scripts for Create React App.


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

@reedsa/react-scripts

Extension of react-scripts to enable greater flexibility to use custom templates with creact-react-app.

Basic Usage

Run create-react-app and set --scripts-version to use @reedsa/react-scripts.

create-react-app <app-name> --scripts-version @reedsa/react-scripts --internal-testing-template <template>

Jump to Templates for more information about using custom templates.

Features

  • Bootstrap projects from a template with a package.json tailored to your needs. Provides configuration of dependencies, devDependencies, scripts out of the box.
  • lint-staged precommit hook support to run a code formatter or linter before commits are made to your project.

For information on how to configure Prettier with a pre-commit hook view these docs.

  • Use a template published on NPM or provide a relative path to a template directory

Templates

A custom template can be used to bootstrap your project.

Preconfigured templates are available to get started on a new React project or help you create your own custom templates.

Using a Template

Set --internal-testing-template <template> in the create-react-app command with either the relative path to the template directory or the name of a template published on NPM. Without this flag create-react-app will use the default template.

To use a template published on NPM you must include --scripts-version @reedsa/react-scripts in the command. The --scripts-version flag is required when a template configuration for a package.json defines anything other than dependencies.

Create React App

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

FAQs

Package last updated on 16 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc