React-typescript-jest-prettier-cypresss-husky-boilerplate

React, Typescript, Jest, Prettier, 2e2 Cypress – setup application boilerplate

  1. Clone this repository to destination folder.

git clone https://github.com/leolanese/react-typescript-jest-prettier-cypresss-husky-boilerplate

  1. Install dependencies.

npm install

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


💯 Thanks!

Now, don’t be an stranger. Let’s stay in touch!

🔘 linkedin: @LeoLanese

🔘 Twitter: @LeoLanese

🔘 Portfolio: www.leolanese.com

🔘 DEV.to: dev.to/leolanese

🔘 Blog: leolanese.com/blog

🔘 Questions / Suggestion / Recommendation: developer@leolanese.com

Visit original content creator repository
https://github.com/leolanese/React-typescript-jest-prettier-cypresss-husky-boilerplate

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *