@elmish-ts/tagged-union

v2.0.2
Utilities for defining tagged sum types and pattern matching in TypeScript
adt algebraic data types discriminated union functional programming pattern matching tagged sum type tagged union TypeScript

build

npm run prebuild && tsc --module commonjs && rollup -c rollup.config.ts && npm run build:docs

build:docs

rimraf docs && typedoc --options typedoc.js src

commit

git-cz

deploy-docs

ts-node tools/gh-pages-publish

lint

tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'

prebuild

rimraf dist

precommit

npm run test && lint-staged

report-coverage

cat ./coverage/lcov.info | coveralls

semantic-release

semantic-release

semantic-release-prepare

ts-node tools/semantic-release-prepare

start

rollup -c rollup.config.ts -w

test

jest --coverage

test:prod

npm run lint && npm run test -- --no-cache

test:watch

jest --coverage --watch

travis-deploy-once

travis-deploy-once
npm i @elmish-ts/tagged-union

Metadata

  • MIT
  • >=6.0.0
  • Derrick Beining
  • released 12/8/2019

Downloads

Maintainers