io-ts

v2.0.4
TypeScript compatible runtime type system for IO validation
typescript validation inference types runtime

lint

tslint -p tsconfig.tslint.json src/**/*.ts test/**/*.ts

jest

jest

prettier

prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different "{src,test}/**/*.ts"

fix-prettier

prettier --no-semi --single-quote --print-width 120 --parser typescript --write "{src,test,examples,exercises}/**/*.ts"

test

npm run prettier && npm run lint && npm run dtslint && npm run declaration && npm run jest && npm run docs

clean

rimraf lib/* es6/*

build

npm run clean && tsc && tsc -p tsconfig.es6.json && npm run import-path-rewrite

prepublish

npm run build

perf

ts-node perf/index

dtslint

dtslint dtslint

declaration

tsc -p declaration/tsconfig.json

mocha

TS_NODE_CACHE=false mocha -r ts-node/register test/*.ts

doctoc

doctoc README.md

docs

docs-ts

import-path-rewrite

import-path-rewrite

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 1/7/2020

Downloads

Maintainers