Task description: https://github.com/rolling-scopes-school/tasks/blob/master/react/modules/module06/README.md
Deploy: https://gentoosiast-react-w6-forms.netlify.app/
Use LTS version of Node.js (20.10.0 at the time of writing)
- Clone the project with
git clone
- Run
npm i
to install dependencies - Run
npm run dev
to start local development server
npm run dev
Start local development server
npm run build
Build project in production mode for further deployment
npm run format:fix
Reformat source code & configs to match Prettier
settings
npm run lint
Check source code with ESLint
. Exit with non-zero return code after the first found warning (useful for CI/CD)
npm run lint:fix
Automatically fix all auto-fixable errors & warnings with ESLint
npm run lint-styles
Check CSS stylesheets for potential problems with Stylelint
. Exit with non-zero return code after the first found warning (useful for CI/CD)
npm run lint-styles:fix
Automatically fix all auto-fixable errors & warnings in CSS stylesheets with Stylelint
npm run typecheck
Perform TypeScript typechecking of source code with tsc
(TypeScript Compiler)
npm run preview
Locally preview the production build
npm run prepare
Runs automatically after package installation to install Husky hooks