ts-react-hooks-tools

v0.1.13
Provide tools to make React hooks easy.

bootstrap

yarn

bootstrap:plugin

cd ./plugin && yarn

bootstrap:test

cd ./tests/project && yarn

bootstrap:test-new

cd ./tests/project-newjsx && yarn

bootstrap:all

yarn bootstrap && yarn bootstrap:plugin && yarn bootstrap:test && yarn bootstrap:test-new

bootstrap:release

yarn bootstrap && yarn bootstrap:plugin

build

tsc

build:plugin

cd ./plugin && yarn build

build:test

tsc --project ./tsconfig.test.json

build:release

yarn build && yarn build:plugin

build:all

yarn build && yarn build:plugin && yarn build:test

link:test

yarn link && cd tests/project && yarn link ts-react-hooks-tools

link:test-new

yarn link && cd tests/project-newjsx && yarn link ts-react-hooks-tools

link:plugin

yarn link && cd plugin && yarn link ts-react-hooks-tools

link:all

yarn link:test && yarn link:plugin

test:e2e

yarn build:test && node ./tests/runTest

test:ci

yarn bootstrap:all && yarn link:all && yarn build:all && yarn test:e2e

lint

prettier -c --config ./prettier.config.js ./src/**/*.{ts,tsx} ./tests/**/*.{ts,tsx}

prettier

prettier -c --config ./prettier.config.js ./src/**/*.{ts,tsx} ./tests/**/*.{ts,tsx} --write

Metadata

  • MIT
  • Whatever
  • Wenlu Wang
  • released 12/10/2020

Downloads

Maintainers