Skip to content

Latest commit

 

History

History
80 lines (42 loc) · 1.17 KB

File metadata and controls

80 lines (42 loc) · 1.17 KB

Contributing

Run Locally

  1. Install dependencies (node, nvm, git)
  2. Clone repo locally
  3. Run npm ci
  4. Run npm run verify

Providing all of that works you should be ready to start development!

Verify

Run tests, lint checking, format checking and the build.

npm run verify

Build

Transpile the code and build the documentation.

npm run build

Code

To just build the code

npm run build:code

Docs

To just build the docs

npm run build:docs

Run Tests

Run all (non-type) tests.

npm run tests

Run all (non-type) tests with code coverage enabled.

npm run tests:coverage

Run Type Tests

Run all type tests.

npm run test:types

Run Mutation Tests

Run all mutation tests.

npm run test:mutants

Lint

Check for linting errors

npm run lint

Fix Linting Errors

Try to fix any linting errors if possible

npm run lint:fix

Formatting

Check for prettier errors

npm run format:check

Fix Formatting Errors

Try to fix any prettier errors

npm run format:write