Giter Club home page Giter Club logo

craco's Introduction

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.

craco's People

Contributors

patricklafrance avatar dilanx avatar banagale avatar alexasselin008 avatar ndbroadbent avatar alvis avatar spautz avatar gloomygentleman avatar andrewcraswell avatar mdziekon avatar andys8 avatar mormahr avatar kintz09 avatar techhead avatar johnnyreilly avatar codex- avatar luistorres avatar floer32 avatar m0hammedimran avatar elektronik2k5 avatar oshotokill avatar pedrosimeao-7egend avatar rickysullivan avatar oneforwonder avatar rjerue avatar oklas avatar cr4zyc4t avatar burtyish avatar yohanb avatar cj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.