@hedia/test

v3.2.0
Tools for testing and reporting

build

tsc

build:watch

tsc --watch

dev

concurrently "npm run build:watch" "npm run start:watch"

eslint

eslint .

eslint:fix

eslint . --fix

package:lint

npx npm-package-json-lint .

pretest

mkdir -p reports

prettier:check

prettier --check .

prettier:write

prettier --write .

start

node --enable-source-maps .

start:watch

node --enable-source-maps --watch .

test

node --test --enable-source-maps --test-concurrency 1 --experimental-test-coverage --test-reporter spec --test-reporter @hedia/test/reporters/json --test-reporter lcov --test-reporter-destination stdout --test-reporter-destination reports/test.json --test-reporter-destination reports/lcov.info

test:only

node --test --enable-source-maps --test-concurrency 1 --test-only

test:watch

node --test --enable-source-maps --test-concurrency 1 --watch

tsc

tsc --noEmit
npm i @hedia/test

Metadata

Downloads