cra-template-typescript-app
v0.1.0
Published
![alt text](https://res.cloudinary.com/alfianandidev/image/upload/create-react-typescript-app.gif 'Create React Typescript App - starter screen')
Downloads
5
Readme
Create React Typescript App 🚀
Combine Create React App with Typescript and Eslint
Stay Safe with Eslint + Prettier 🚑
Feature:
- Absolute path 🔥
- Typesafe
- Support unit testing
Get started :
git clone https://github.com/alfianandinugraha/create-react-typescript-app.git
cd create-react-typescript-app
yarn install
ornpm install
- 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
Please visit Create React Typescript App
📃 visit Create React App for another information