Giter Club home page Giter Club logo

react-without-cra's Introduction

react-without-cra (Now open to the public!)

A boilerplate for React made manually without the use of CRA.
Never use create-react-app again!

Run npm init -y

Install the following pacakges via npm or yarn to get it up and running:
Use --save-dev for all except react, react-dom and sass

  • @babel/cli
  • @bable/core
  • @babel/preset-env
  • @babel/preset-react
  • babel-loader
  • css-loader (if not using sass)
  • eslint
  • eslint-config-prettier
  • eslint-plugin-jest
  • husky (setup to use .jsx extensions when running commit/test)
  • html-webpack-plugin
  • jest
  • jest-environment-jsdom
  • prettier (use --save-dev and --save-exact)
  • webpack
  • webpack-cli
  • webpack-dev-server
  • react (make sure to use .jsx instead of .js for files)
  • react-dom
  • sass (optional)
  • sass-loader (optional, needed with sass)
  • @testing-library/react
  • @testing-library/jest-dom

Make sure to use git init before installing husky

This will make formatting consistent across all commits and any number of collaborators.
To use TypeScript you may have to do some minor configuring and use .tsx extensions (haven't tested this yet)

react-without-cra's People

Contributors

jburky15 avatar dependabot[bot] avatar

Watchers

 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.