Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 771 Bytes

File metadata and controls

19 lines (15 loc) · 771 Bytes

Contributing

Rules

  1. Create branch from develop and always make PR to develop not main
  2. Every new public function needs tests: happy path, validation, errors, idempotency, edge cases.
  3. npm run test:cov must pass (lines ≥90%, branches ≥90%, functions ≥95%) before opening a PR.
  4. npm run lint and npm run type-check must be clean.
  5. Update CHANGELOG.md under ## [Unreleased] for every PR.
  6. Never put a secret key in src/ — CI will block the PR.

Commands

npm test                    unit tests
npm run test:cov            with coverage
npm run test:watch          watch mode
npm run test:integration    testnet (needs .env)
npm run lint                check for errors
npm run build               compile to dist/