https://github.com/platonlukyanov/cra-template-jam
A create-react-app template that includes TypeScript, React Router, Redux Toolkit, RTK Query and Styled Components
https://github.com/platonlukyanov/cra-template-jam
react react-router-v6 redux-toolkit rtk-query styled-components typescript
Last synced: about 2 months ago
JSON representation
A create-react-app template that includes TypeScript, React Router, Redux Toolkit, RTK Query and Styled Components
- Host: GitHub
- URL: https://github.com/platonlukyanov/cra-template-jam
- Owner: platonlukyanov
- License: apache-2.0
- Created: 2022-03-09T20:18:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-14T20:38:34.000Z (about 4 years ago)
- Last Synced: 2025-10-11T12:34:34.396Z (8 months ago)
- Topics: react, react-router-v6, redux-toolkit, rtk-query, styled-components, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/cra-template-jam
- Size: 194 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CRA-JAM
A very opinionated starter Create React App (CRA) template with amazing libraries and tools including:
* React
* TypeScript
* Redux Toolkit
* Styled Components
* React Router
* Custom ESLint Rules
Let's cook a jam!
## Usage
`yarn create react-app your-project-name --template jam`
Or
`npx create-react-app your-project-name --template jam`
npx package runner tool installs the most recent stable version of CRA from npm. (npx comes out of the box with npm 5.2+)
`--template` parameter points to this template, note that `cra-template-` prefix will be omitted.
## Run Scripts
Inside the project directory run using npm or yarn:
* `start` - runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
* `test` - launches the test runner in the interactive watch mode
* `build` - builds the app for production to the build folder
* `eject` - exposes content of react-script package
* `lint` - lints project files according to custom rules
* `fix` - fix lints issues according to style guide set
* `analyzer` - uses cra-bundle-analyzer to Analyzer Bundle (need to install `yarn add -D cra-bundle-analyzer`)