typed-is

v1.0.3
is utiltity belt to work with flow and ts

prepack

yarn run build

postpack

npm run clean:scripts

flow:gen

flow gen-flow-files src --out-dir genFlowDefs

build

yarn run clean && yarn run generate:index && yarn run build:typesflow && yarn run build:ts

build:ts

tsc

build:types

yarn run build:typesTS && yarn run build:typesflow

build:typesTS

tsc --emitDeclarationOnly

build:typesflow

flow-copy-source -v --ignore **/*.spec.js src lib

test

jest

test:all

yarn run test:flow && yarn run test:ts

test:ts

cross-env BABEL_ENV=test jest

test:flow

cross-env BABEL_ENV=flow jest --config ./jest.config.flow.js

clean

rimraf es/* lib/* dist/**/*.js coverage/* & yarn run clean:scripts

clean:scripts

node scripts/clean.js

clean:modules

rimraf node_modules/*

generate:index

node ./scripts/generateIndex.js

createModule

node ./scripts/createModule.js

Metadata

  • MIT
  • Whatever
  • Josh Rosenstein
  • released 11/7/2018

Downloads

Maintainers