front-end starter boilerplate
Features
- React (with hot reloading)
- Styled Components (with stylelint)
- Webpack 5
- TypeScript & ESlint & Prettier (via @ardoq/shared-configs)
How to use this?
git clone git@github.com:ardoq/front-end-starter.git
cd front-endstarter && rm -rf .git
yarn install
- Transform it into your needs!
Scripts:
yarn start
(development with hot-reloading)yarn lint
(eslint)yarn stylelint
(eslint)yarn check-types
(TypeScript check)yarn build
(Build to/dist
, uses webpack.prod.js
Recommended VSCode extensions:
- VSCode Stylelint
- ESlint
with config option
"eslint.codeActionsOnSave.mode": "all"
(to fix eslint issues and auto-format on save)