-
custom
webpack, no more blackbox. -
custom
eslint-plugin-jerry -
path alias
alias real path @ /src/ test-utils /utils/test-utils -
Support
tailwindcsswithjitmode
- ⚛️ React 18
- ⛑️ Type safety via TypeScript
- 🔐 Private, public, and shared routes
- 💄 Write SCSS & future CSS with PostCSS + preset-env
- 🎯 Browserslist for specific browser support
- 🖊 Add SVGs, images, and custom fonts
- 🌎 Path aliasing for streamlined imports
- 🌈 Prettier for consistent code style
- 👀 Lint your code with ESLint
- 🐺 Husky + lint-staged for code quality assurance
- 🧪 Jest + React Testing Library for tests
Run the frontend via either option below, then visit the client at http://localhost:8080
NPM:
cp .env.example .env // add any env variables here
npm install
npm run start
NPM:
| Command | Description |
|---|---|
| npm run build | Builds the client |
| npm run serve | Serves the client |
| npm run build:serve | Builds and Serves the client |
| npm run start | Runs the client with hot reloading on $PORT || 8080 |
| npm run test | Runs the suite of Jest tests |
| npm run test:watch | Runs and Watches the suite of Jest tests |
| npm run lint | Runs Prettier, ESLint, and StyleLint formatters |
- icon: https://heroicons.com/
- webpack 5 has some issue when simply using
npx sb init. Refering to this article
npm i -D @storybook/builder-webpack5@latest @storybook/manager-webpack5@latest
// under main.js
module.exports = {
core: {
builder: "webpack5",
},
};
- Deploy via GA