@craco/craco
Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app.

@craco/craco downloads @craco/craco version @craco/craco license

@craco/cracoSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on @craco/craco's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of @craco/craco](https://npm-compare.com/img/npm-trend/THREE_YEARS/@craco/craco.png)](https://npm-compare.com/@craco/craco#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on @craco/craco's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of @craco/craco](https://npm-compare.com/img/github-trend/@craco/craco.png)](https://npm-compare.com/@craco/craco)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
@craco/craco374,1297,451140 kB483 years agoApache-2.0
README for @craco/craco

CRACO

Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app.

Find config docs, API docs, plugins, and example configs at craco.js.org!


npm status npm downloads npm license GitHub stars GitHub contributors PRs Welcome

Get all the benefits of Create React App and customization without using 'eject' by adding a single configuration (e.g. craco.config.js) file at the root of your application and customize your ESLint, Babel, PostCSS configurations and many more.

  1. Install the latest version of the package from npm as a dev dependency:

    npm i -D @craco/craco
    
  2. Create a CRACO configuration file in your project's root directory and configure:

      my-app
      ├── node_modules
    + ├── craco.config.js
      └── package.json
    
  3. Update the existing calls to react-scripts in the scripts section of your package.json to use the craco CLI:

    "scripts": {
    -  "start": "react-scripts start"
    +  "start": "craco start"
    -  "build": "react-scripts build"
    +  "build": "craco build"
    -  "test": "react-scripts test"
    +  "test": "craco test"
    }
    

Visit craco.js.org to learn more.