earljs

v0.0.5
Ergonomic, modern and type-safe assertion library
assertions modern mocha chai jest typescript

start

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

format

prettier --check "./**/*.ts"

format:fix

prettier --write "./**/*.ts"

lint

eslint --ext .ts src test

lint:fix

yarn lint --fix

typecheck

tsc --noEmit

clean

rm -rf dist

build

tsc -p ./tsconfig.prod.json

test

mocha --config ./test/.mocharc.js

test:fix

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

prepublishOnly

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

Metadata

  • MIT
  • Whatever
  • Kris Kaczor
  • released 5/17/2020

Downloads

Maintainers