Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.28 KB

File metadata and controls

50 lines (32 loc) · 1.28 KB

nodejs-package

Node CI

Requirements

  • Unix system (Macos/Linux)
  • Nodejs 22.x+
  • Make

Description

Boilerplate for javascript projects with:

  • Javascript (nodejs)
  • Oxlint (linter) and Oxfmt (formatter)
  • Vitest

For Typescript boilerplate see typescript-package

Setup

make install

Run tests

make test

See other commands in Makefile

Run tests with coverage

make test-coverage
# see ./coverage

The coverage threshold is set in vitest.config.jsmake test-coverage exits with an error when coverage drops below it, so the Node CI badge above stays green only while coverage holds.


Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.