Combine Create React App with Typescript and Eslint
Feature:
Get started :
git clone https://github.com/alfianandinugraha/create-react-typescript-app.git
cd create-react-typescript-app
yarn install
or npm install
This project was bootstrapped with Create React App.
and includes:
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
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
Free hosting for deploy your static site or single page application
You can follow the contributing guide listed here
create-react-typescript-app is under MIT License.
📃 Visit Official Create React App Template for another information