monocle-ts

v0.4.4
A porting of scala monocle library to TypeScript
typescript functional-programming optics lens fp-ts

lint

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

typings-checker

typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts

mocha

mocha -r ts-node/register test/*.ts

prettier

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

fix-prettier

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

test

npm run prettier && npm run lint && npm run typings-checker && npm run mocha

clean

rm -rf lib/*

build

npm run clean && tsc

doctoc

doctoc README.md

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 10/19/2017

Downloads

Maintainers