A simple layout of online shop developed using tailwind and playwright to tests.
This project was bootstrapped with Vite and modified by TSH team.
To set up this project you need to follow this steps:
- Install npm dependencies of the project:
npm install
- Before your run your application locally, you need to set up environment variables:
cp .env.dist .env
- Start your application locally:
npm start
start
- Launches the app in development mode on http://localhost:3000build
- Compiles and bundles the app for deployment*build:ci
- Build command optimized for CI/CD pipelinestypecheck
- Validate the code using TypeScript compilerpreview
- Boot up a local static web server that serves application build. It's an easy way to check if the production build looks OK on your local machinetest
- Run unit tests with vitestcoverage
- Run unit tests with code coverage calculationlint
- Validate the code using ESLint and Prettierlint:fix
- Validate and fix the code using ESLint and Prettierplop
- Run CLI with commands for code generationtranslations
- Run Babelsheet tool for fetch the latest translationsserve:playwright
- Run playwright E2E tests panelversion
- Build CHANGELOG file base on git commits historye2e:ci:firefox
: Run E2E tests on Firefox browser in CI pipelinese2e:ci:chrome
: Run E2E tests on Chrome browser in CI pipelines
Copyright © 2021-present The Software House. This source code is licensed under the MIT license found in the LICENSE file.
Made with ♥ by The Software House (website, blog)