We're excited for your interest in WCC, and maybe even your contribution!
To develop for the project, you'll want to follow these steps:
- Have NodeJS LTS and / or use
nvm
(see below) - Clone the repository
- Run
npm ci
If you have NVM (Node Version Manager) installed, get the recommend node version:
- Windows: NVM for Windows
- Linux/MacOS: Node Version Manager
And then running nvm use
$ nvm use
The local development flow is based around building the docs website, using wcc
in an SSG based workflow, and running tests.
There are the main tasks, but you can see them all listed in package.json#scripts.
npm run docs:dev
- Builds the docs site for local developmentnpm start
- Builds a production version of the docs site and serves it locallynpm run sandbox
- Starts the sandbox app for live demos and testingnpm test
- Run all the testsnpm test:tdd
- Run all the tests in watch mode