tstyche

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

lint

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

test

yarn test:unit && yarn test:e2e

bench

./benchmarks/tstyche.bench.sh

build

rollup --config rollup.config.js

check

yarn check:spelling && yarn check:formatting

clean

rm -rf build

format

dprint fmt

prepack

yarn clean && yarn build

generate

yarn generate:schema && yarn generate:types

test:e2e

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

test:unit

mocha --config mocha.config.json

prepublish

yarn test

test:types

tstyche tests

build:watch

yarn build --sourcemap --watch

check:types

tsc --noEmit --project tsconfig.json

test:coverage

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

test:examples

tstyche examples

check:spelling

cspell --config cspell.config.json --quiet

generate:types

node ./models/__scripts__/generate-types.js

generate:schema

node ./models/__scripts__/generate-schema.js

check:formatting

dprint check

Metadata

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

Downloads

Maintainers