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-path>

Jump to Templates for more information about using custom templates.

Features

  • Bootstrap projects with a package.json tailored to your needs. Provides templates with the ability to configure 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.

Templates

A custom template can be used to bootstrap your project.

Preconfigured templates are available to get started on a new React project. Also refer to this repository for information about creating your own custom templates.

Using a Template

Set --internal-testing-template <template-path> in the create-react-app command with the relative path to template you want to use. Without this flag create-react-app will use the default template.

If your template defines anything other than dependencies in the package.json you should also include --scripts-version @reedsa/react-scripts in the command.

Create React App

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

FAQs

Package last updated on 02 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