tstyche

v1.0.0-beta.8
The Essential Type Testing Tool.
typescript types test runner expect

lint

yarn lint:cspell && yarn lint:eslint && yarn lint:prettier

test

NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --config jest.config.js

bench

./benchmarks/tstyche.bench.sh

build

rollup --config rollup.config.js

clean

rm -rf .cache build

prepack

yarn clean && yarn build

generate

yarn generate:schema && yarn generate:types

test:e2e

yarn test --testMatch '**/tests/*.test.ts'

test:unit

yarn test --testMatch '**/src/**/__tests__/*.test.ts?(x)'

typecheck

tsc --noEmit --project tsconfig.json

prepublish

yarn test

test:types

tstyche tests

build:watch

yarn build --sourcemap --watch

lint:cspell

cspell --cache --cache-location ./.cache/cspell --config cspell.config.json --quiet

lint:eslint

eslint ./ --cache --cache-location ./.cache/eslint --config eslint.config.json --ext .js,.cts,.ts,.tsx

lint:prettier

prettier ./ --cache --cache-location ./.cache/prettier --check

test:coverage

yarn build --sourcemap && c8 --config c8.config.json yarn test

test:examples

tstyche examples

generate:types

node scripts/generate-types.js

generate:schema

node scripts/generate-schema.js

Metadata

  • MIT
  • ^16.14 || 18.x || >=20.x
  • Unknown
  • released 1/5/2024

Downloads

Maintainers