michaelschwobe / crate-rackt-app

An opinionated template/starting point was bootstrapped with Create React App and includes React Router, Storybook, Airbnb/ESLint/Prettier linting, prop-types, and classcat.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crate-rackt-app

An opinionated template/starting point was bootstrapped with Create React App and includes React Router, Storybook, Airbnb/ESLint/Prettier linting, prop-types, and classnames.

Requirements

  • macOS (Windows might work but is not actively tested)
  • node version 16 or higher
  • yarn version 1.22.x (or npm version 8) or higher

Scripts

Reference package.json for all scripts. Here are few commonly used scripts:

Cleanup

# Removes script generated files/folders.
yarn clean

Linting

# Run the custom linter.
yarn lint

# Run the custom linter automatically fix files.
yarn lint:fix

Testing

# Runs the test runner in the interactive watch mode.
yarn test

# Runs the test runner and collect coverage.
yarn test:coverage

# Runs the test runner and collect coverage on changed files.
yarn test:changed

Development

# Runs the app in the development mode.
yarn start

# Run Storybook in development mode.
yarn storybook

Production

# Builds the app for production.
yarn build

# Build Storybook for production.
yarn build-storybook

# Analyze production bundles.
yarn analyze

About

An opinionated template/starting point was bootstrapped with Create React App and includes React Router, Storybook, Airbnb/ESLint/Prettier linting, prop-types, and classcat.


Languages

Language:JavaScript 67.0%Language:CSS 21.2%Language:HTML 11.8%