ALRIGHT REACT APP
Professional React app generator. Comes with an exposed, unopinionated, high performance configuration. Jest, SWC, Storybook 7, Typescript 5, Webpack 5.
GETTING STARTED
In your terminal, type:
npx alright-react-app
The npx
command is available if npm
is installed globally on your computer.
Alright React App will ask you to enter an application name. Then you just have to press enter
.
The following folder will be created at the root of your current working directory:
my-app
βββ webpack.config.js
βββ tsconfig.json
βββ README.md
βββ package.json
βββ jest.swc.config.js
βββ custom.d.ts
βββ .swcrc
βββ .gitignore
βββ .eslintrc.js
βββ .eslintignore
βββ .env
βββ src
βββ index.tsx
βββ index.html
βββ app.tsx
βββ app.test.ts
βββ pages
βββ home
βββ index.tsx
βββ home.css
βββ components
βββ error-boundary
βββ index.tsx
βββ layout.tsx
βββ title
βββ index.tsx
βββ stories.tsx
βββ assets
βββ images
βββ favicon.png
βββ svg
βββ logo.svg
βββ .storybook
βββ main.js
βββ preview.js
Once the application is created, type `cd my-app'.
COMMANDS
DEV: yarn|npm run dev
BUILD: yarn|npm run build
STORYBOOK: yarn|npm run storybook
TEST: yarn|npm run test
STORYBOOK
You must install Storybook globally: npm i -g @storybook/cli
to use it.
CREDITS
DoneDeal0
SUPPORT
If you or your company is using the Alright React App, please show your support by buying me a coffee: https://www.buymeacoffee.com/donedeal0
CONTRIBUTING
Pull requests are welcome!