newtype-ts

v0.3.2
Implementation of newtypes in TypeScript
typescript newtype functional-programming

lint

tslint src/**/*.ts test/**/*.ts

typings-checker

typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.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}/**/*.ts"

test

npm run prettier && npm run lint && npm run typings-checker && npm run jest && npm run docs

clean

rm -rf lib/*

build

npm run clean && tsc && tsc -p tsconfig.es6.json

prepublish

npm run build

docs

docs-ts

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 7/2/2019

Downloads

Maintainers