cra-template-typescript-app

0.1.0 • Public • Published

alt text

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 :

  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

Please visit Create React Typescript App


📃 visit Create React App for another information

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i cra-template-typescript-app

    Weekly Downloads

    1

    Version

    0.1.0

    License

    none

    Unpacked Size

    64.4 kB

    Total Files

    32

    Last publish

    Collaborators

    • alfianandinugraha