/parcel-react-starter

Parcel react starter kit. Comes with React, Typescript, Styled Components + Grommet, Prettier and Eslint, Storybook with MDX and CSF, Jest with React-testing-library

Primary LanguageTypeScript

Parcel Typescript React Starter Kit

All-in-one opinionated parcel typescript react starter kit.

Comes with

  • Parcel
  • Typescript
  • React
  • Eslint and prettier
  • Testing with Jest (with react-testing-library)
  • Storybook with MDX and CSF docs
  • Grommet and styled components (with normalize.css)

Prerequisites

Commands

Installing packages

$ yarn

Running in development

$ yarn start

Production build

$ yarn build

Running code analysis

$ yarn prettier:fix    # auto-formatter
$ yarn lint:fix        # linter
$ yarn typecheck       # runs typecheck
$ yarn prettylint:fix  # runs them all

Running tests

$ yarn test

Running storybook

yarn start:story

Production storybook build

$ yarn build:story