ammoradi / cra-template-star-pwa

create react app custom template (it is more than a template. maybe we can call it a complete boilerplate) based on official cra-typescript template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

star-pwa banner

Usage

npx

npx create-react-app my-app --template star-pwa

Includes

Features

  • Static type checking with typescript
  • Redux for app's state management
  • Async data fetching with axios and redux thunk
  • persisting app data with redux persist
  • Routing with react router
  • Eslint configuration that's compatible with prettier
  • Styling with styled components
  • Stylelint configuration that's compatible with styled components
  • Pre-commit hooks that runs eslint, prettier and stylelint on your code before commit.
  • Provide global theme management system
  • Global app loading management
  • Provide some basic components
  • Configuration for PWA production update handling
  • VS Code support

Note

  • please see all project's .ts files at first. there are some comments in code for you.
  • because of create react app limitation all of dev dependencies (like eslint, prettier, stylelint, husky and lint-staged packages) added to dependencies. but you can move them to devDependencies manually

License

Licensed under the MIT license.

About

create react app custom template (it is more than a template. maybe we can call it a complete boilerplate) based on official cra-typescript template.

License:MIT License


Languages

Language:TypeScript 87.5%Language:HTML 12.4%Language:CSS 0.1%Language:Shell 0.0%