Giter VIP home page Giter VIP logo

cra-template-nami's Introduction

CRA-MHL

My Create React App (CRA) primary template

A very opinionated starter Create React App (CRA) template with:

  • React
  • State management - Recoil
  • CSS Framework - TailwindCSS
  • CSS-in-JS Modules โ€” Styled Components
  • Router - React Router
  • Unit Testing - React Testing Library
  • Folder structure
  • Format & Lint - ESLint & Prettier
  • Useful utilities - Classnames, React-Helmet.

Custom Templates, format, and ESLint configurations.

Usage

yarn create react-app your-project-name --template cra-template-nami

Or;

npx create-react-app your-project-name --template cra-template-nami

npx package runner tool installs the most recent stable version of CRA from npm. (npx comes out of the box with npm 5.2+)

--template parameter points to this template, note that cra-template- prefix will be omitted.

Run Scripts

Inside the project directory run:

  • yarn start - runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
  • yarn test - launches the test runner in the interactive watch mode.
  • yarn build - builds the app for production to the build folder.
  • yarn eject - exposes content of react-script package
  • yarn lint - lints project files according to Airbnb โ€” as part of their style guide ๐Ÿ‘ โ€” it provides an ESLint configuration that anyone can use and it is the standard.
  • yarn fix - fix lints issues according to style guide set.
  • yarn format - will format your code prettier using opinionated settings inside .prettierrc file.
  • yarn isready - will check if the code is ready for showtime (production), run lint, format and build.

CRA template only support scripts and dependencies inside generated package.json. No devDependencies is possible on CRA template for now.

If you like this library, don't be shy to star it ๐Ÿ™

cra-template-nami's People

Contributors

waveiro avatar

Watchers

 avatar

Forkers

johnjkrcmarik

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.