decoders

v1.3.0-beta.3
Elm-like decoders for when working with Flow types in JS

fix

yarn run fix:prettier && yarn run fix:import-sort

test

yarn run test:flow && yarn run test:jest && yarn run check

build

yarn run build:clean && yarn run build:lib && yarn run build:flow

check

yarn run check:eslint && yarn run check:prettier && yarn run check:import-sort

build:lib

babel -d lib src --ignore '**/__tests__/**'

test:flow

flow check

test:jest

jest --coverage

build:flow

flow-copy-source -v -i '**/__tests__/**' src lib

prepublish

in-publish && yarn run actually-prepublish || not-in-publish

build:clean

rimraf lib

check:eslint

eslint --report-unused-disable-directives src

fix:prettier

prettier --write 'src/**/*.js'

check:prettier

prettier --list-different 'src/**/*.js'

fix:import-sort

import-sort --write 'src/**/*.js'

check:import-sort

import-sort --list-different 'src/**/*.js'

actually-prepublish

yarn run build:clean && yarn run test && yarn run build

Metadata

  • MIT
  • Whatever
  • Vincent Driessen
  • released 1/9/2018

Downloads

Maintainers