cra-template-jam
v0.1.4
Published
A quick start Create React App template with React Router, Redux Toolkit, TypeScript, Styled Components and custom ESlint configurations
Downloads
2
Maintainers
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 modebuild
- builds the app for production to the build foldereject
- exposes content of react-script packagelint
- lints project files according to custom rulesfix
- fix lints issues according to style guide setanalyzer
- uses cra-bundle-analyzer to Analyzer Bundle (need to installyarn add -D cra-bundle-analyzer
)