Skip to content
forked from dilanx/craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.

License

Notifications You must be signed in to change notification settings

peltronic/craco

This branch is 59 commits behind dilanx/craco:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

47fb53b · Dec 21, 2022
Nov 14, 2022
Jun 26, 2022
Nov 8, 2022
Nov 14, 2022
Dec 21, 2022
Oct 2, 2022
Nov 16, 2018
Oct 2, 2022
Jun 26, 2022
Oct 16, 2018
Nov 8, 2022
Nov 8, 2022
Nov 8, 2022
Oct 2, 2022
Oct 2, 2022

Repository files navigation

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.

About

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 82.8%
  • JavaScript 14.8%
  • SCSS 2.3%
  • CSS 0.1%