A Boilerplate for building react components using typescript and storybook
Technologies:
- React
- Typescript
- SCSS
- postCSS
- eslint + prettier
- husky 🐶 + lint-staged
- Vitest ⚡
Features:
- Unit Tests (using
vitest) - Full control over each configuration
- CSS Preprocessors support
- CSS Modules support
to get the boilerplate type the following:
npx degit https://github.com/MatanelGordon/react-app-boilerplate.git <directory name>to get the boilerplate type the following:
git clone --depth 0 https://github.com/MatanelGordon/react-app-boilerplate.git <directory name>To run a dev server, use the following command:
npm run devNOTE: You can also use yarn / pnpm
To Build the project, run the following command:
npm run buildThere are several different ways to run tests:
npm run test- will run all testsnpm run test:dev- will run all tests when a file changesnpm run test:ui- will open a webview with all the tests and run them on change
install the boilerplate inside apps/
install the boilerplate inside apps/