monocle-ts
v0.5.1 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"
flow-copy-definition-files
cp src/*.js.flow lib
flow-fix-prettier
prettier --no-semi --single-quote --print-width 120 --parser flow --write "{src,test,examples,exercises}/**/*.js.flow"
test
npm run prettier && npm run lint && npm run typings-checker && npm run mocha
clean
rm -rf lib/*
build
npm run clean && tsc && npm run flow-copy-definition-files
doctoc
doctoc README.md
npm i [email protected]
Metadata
- MIT
- Whatever
- Giulio Canti
- released 11/27/2017