0.1.2 • Published 4 years ago

cra-template-ideal-starter v0.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

This is a Create React App template. It's not perfect, but it's ideal 👌

version License

Watch on GitHub Star on GitHub

Usage

npx

npx create-react-app my-app --template cra-template-ideal-starter

Includes

Additional set up

The following is not yet supported by Create React App so must be added manually:

  1. Add the following to your package.json file to run prettier formatting and eslint checks after a git commit:
    "husky": {
      "hooks": {
        "pre-commit": "pretty-quick --staged"
      }
    }

Available Scripts

In the project directory, you can run:

npm 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.

npm test

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

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.

npm run lint

Runs the ESLint typescript code lint checker. Running npm run lint:fix will automatically fix any lint errors where possible.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

License

Licensed under the MIT license.

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago