It's a template for React application with Typescript, Jest library and other stuff that can be helpful for you - feel free to use it!
- Install dependencies.
npm install
- Run local environment.
npm start
npm start
- run development server with hot reload mode,
npm build
- build distributon package,
npm run lint
- run lints,
npm run lint:code
- run lint for typescript / javascript files,
npm run lint:code:fix
- run lint for typescript / javascript files with auto fix option,
npm run lint:style
- run lint for style files,
npm run lint:style:fix
- run lint for style files with auto fix option,
npm run test:jest
- run Jest tests,
npm run test:jest:watch
- run Jest tests with watch mode,
npm run test:jest:coverage
- run Jest tests and generate coverage report,
npm run test:cypress
- run Cypress tests in terminal,
npm run test:cypress:open
- open Cypress application.
Name | Version | Docs | |
---|---|---|---|
Typescript | 4.9.5 | https://www.typescriptlang.org/ | |
React | 18.2.0 | https://reactjs.org/ | |
React Router Dom | 6.8.0 | https://v5.reactrouter.com/web/guides/quick-start | |
Jest | 29.4.1 | https://jestjs.io/ | |
Cypress | 12.5.0 | https://www.cypress.io/ | |
Sass | 1.58.0 | https://sass-lang.com/ | |
![]() |
Webpack | 5.75.0 | https://webpack.js.org/ |
ESLint | 8.33.0 | https://eslint.org/ | |
Prettier | 2.8.3 | https://prettier.io/ | |
Husky | 8.0.3 | https://github.com/typicode/husky |