Example project configured with React
, Typescript
, Storybook
, and styled-components
.
The project is built using webpack
, prettier
and eslint
.
To install the required modules run:
yarn install --frozen-lockfile
To access storybook run:
yarn storybook
The storybook
style guide is running on http:localhost:9009.
To start the development server run:
yarn start
The application is running on http:localhost:3001.
To build the project to run on any server run:
yarn build
The project will be compiled into the dist
folder.
The compiled output is targeting all browsers supporting es2015
.
To build and test the compiled version of the project run
yarn build-and-run
The application is running on http:localhost:8080.