alfianandinugraha / create-react-typescript-app

Integrating Reactjs with Typescript + ESLint
https://create-react-typescript-app.vercel.app
MIT License
24 stars 6 forks source link
boilerplate eslint prettier reactjs typescript
Create React Typescript App - starter screen

Create React Typescript App 🚀

Combine Create React App with Typescript and Eslint

Stay Safe with Eslint + Prettier 🚑

Feature:

Get started :

  1. git clone https://github.com/alfianandinugraha/create-react-typescript-app.git
  2. cd create-react-typescript-app
  3. yarn install or npm install
  4. Happy coding 👨🏻‍💻

This project was bootstrapped with Create React App.

and includes:


📜 Available Scripts

In the project directory, you can run:

yarn start or npm run start

Runs the app in the development mode.\ Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

yarn test or npm run test

Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.

yarn build or npm run build

Builds the app for production to the build folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!

See the section about deployment for more information.

yarn lint or npm run lint

Fix all error because eslint, this eslint extends the config from Eslint Airbnb and also use Prettier

See the section about Eslint CLI for more information

yarn reset or npm run reset

This boilerplate has landing page and this command is used to delete all files, folders, and code which related to landing page. Rather than delete manualy, just type this command and the landing page will be removed.

To undo this command, type git checkout -- src/ to rollback to older src folder

yarn eject or npm run eject

Warning ! don't eject the app, because cannot be undone. Please use react-app-rewired for control behavior of Create React App


📦 Deploy App

Free hosting for deploy your static site or single page application


🧱 Contribute

You can follow the contributing guide listed here

📜 License

create-react-typescript-app is under MIT License.


📃 Visit Official Create React App Template for another information