Skip to content

ProjectEvergreen/playground.wcc.dev

Repository files navigation

playground.wcc.dev

Playground repository for wcc.dev built using Greenwood.

Setup

  1. Clone the repository
  2. Have NodeJS LTS installed (or run nvm use)
  3. Run npm ci

Commands

To start the local development server, run:

$ npm run dev

To generate a production build, run:

$ npm run build

To start the production server, run:

Note: make sure you have generated a production build first.

$ npm run serve

Additionally, before committing the following commands will run as part of Husky pre-commit hooks, but you can also run them manually:

  • npm run lint - Runs OXLint for JS / TS linting
  • npm run format - Runs OXFmt for code formatting
  • npm run check - Run TSGO for type-checking