reuse

v2.0.0
Reuse different React components to create new ones
reuse react

test

jest

coverage

npm test -- --coverage

postcoverage

opn coverage/lcov-report/index.html

type-check

tsc --noEmit

lint

eslint . --ext js,ts,tsx

clean

rimraf dist

prebuild

npm run clean

build:ts

tsc --emitDeclarationOnly

build:babel

babel src -x .js,.ts,.tsx

build:cjs

cross-env BABEL_ENV=cjs npm run build:babel -- -d dist/cjs

build:es

cross-env BABEL_ENV=es npm run build:babel -- -d dist/es

build

npm run build:ts && npm run build:cjs && npm run build:es

prerelease

npm run lint && npm test && npm run build

release

standard-version

postpublish

git push origin master --follow-tags
npm i reuse

Metadata

  • MIT
  • Whatever
  • Haz
  • released 2/5/2019

Downloads

Maintainers