https://github.com/aakashraina/react-spawn
CLI tool to quickly spawn a minimalist template for SPA react web apps 🚀
https://github.com/aakashraina/react-spawn
boilerplate-front-end cli nodejs reactjs
Last synced: 8 months ago
JSON representation
CLI tool to quickly spawn a minimalist template for SPA react web apps 🚀
- Host: GitHub
- URL: https://github.com/aakashraina/react-spawn
- Owner: AakashRaina
- License: mit
- Created: 2021-01-27T14:40:13.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-03T13:24:30.000Z (over 5 years ago)
- Last Synced: 2024-04-24T15:19:40.241Z (about 2 years ago)
- Topics: boilerplate-front-end, cli, nodejs, reactjs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/react-spawn-cli
- Size: 217 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
React Spawn ♚
> CLI tool to quickly spawn a minimalist template for SPA react web apps 🚀
### ⚡️ Features
- Uses `Webpack` as bundler, supports both `dev` & `prod` modes. `Live reloading` & `HMR` supported.
- Uses `Tailwind` CSS framework.
- Icon set from `react-icons`.
- Preconfigured for `Stylus`.
- Supports `.png|.jpeg|.svg`.
- Integrated with `Storybook`.
### ⚙️ Installation
```sh
npm i -g react-spawn-cli
```
### 💻 Usage
> To create your React app, run the following command
```sh
spawn-react-app [app-name]
```
> Run the following command to have a development build & start developement server
```sh
npm run start
```
### 🚀 Production Builds
> To generate a production build, run the following command. Build is generated in `/dist` folder.
```sh
npm run build
```
> To view production builds locally, run the following command
```sh
npm run serve:prod-build
```
### Use storybook
> To start storybook, run the following command
```sh
npm run storybook
```
### Author
👤 **Aakash Raina**
### 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/AakashRaina/React-Spawn/issues).