earljs

v0.1.3
Ergonomic, modern and type-safe assertion library
assert assertion assertions modern mocha chai jest typescript test and 7 more...

start

ts-node -T ./src/index.ts

format

prettier --ignore-path ../../.prettierignore './**/*.{ts,md}' --check

format:fix

prettier --ignore-path ../../.prettierignore './**/*.{ts,md}' --write

lint

eslint --ext .ts src test

lint:fix

yarn lint --fix

typecheck

tsc --noEmit

clean

rm -rf dist

build

yarn clean && tsc -p ./tsconfig.prod.json

build:watch

yarn clean && tsc -p ./tsconfig.prod.json --watch

build:watch:test

yarn clean && tsc -p ./tsconfig.json --watch

test

mocha

test:fix

yarn lint:fix && yarn format:fix && yarn typecheck && yarn test

prepublishOnly

yarn lint && yarn format && yarn typecheck && yarn test && yarn build

Metadata

  • MIT
  • Whatever
  • Kris Kaczor
  • released 11/22/2020

Downloads

Maintainers