Tournament scheduling app
This project uses pnpm
as the package manager. The following scripts are available in the root package.json
:
Script | Description |
---|---|
postinstall |
Runs husky install to set up git hooks after installing dependencies. |
lint |
Runs turbo lint to lint all packages in the monorepo. |
dev |
Runs turbo watch dev to start all development servers in watch mode. |
test |
Runs turbo test -- --silent to execute all tests in silent mode. |
build |
Runs turbo build to build all packages in the monorepo. |
serve |
Runs turbo serve to serve the built application locally. |
predeploy |
Runs pnpm run build before deployment (used internally by the deploy script). |
deploy |
Deploys the web app to GitHub Pages using gh-pages -d ./packages/turnament-web/dist . |
- Husky: Used for git hooks (pre-commit and pre-push).
- lint-staged: Runs linters and formatters on staged files before commit.
- Turbo: Task runner for monorepo scripts.
- gh-pages: Deploys the web app to GitHub Pages.
- Install dependencies:
pnpm install
- Start development:
pnpm dev
- Lint code:
pnpm lint
- Run tests:
pnpm test
- Build for production:
pnpm build
- Serve locally:
pnpm serve
- Deploy:
pnpm deploy