rooks

v5.6.0
Essential React custom hooks ⚓ to super charge your components!
react hooks custom custom-hooks typescript react-hooks

clean

rimraf dist lib

commit

cz

lint

eslint src/**/*.ts

format

yarn run prettier --write "./src/*.+(js|jsx|ts|tsx)" && yarn run prettier --write "./docs/*.+(md|mdxx)"

test

jest

coverage

yarn test --coverage

create

ts-node helpers/create

new

yarn run create

prebuild

rimraf dist

update-package-list-to-markdown

ts-node helpers/update-package-list-to-markdown

update-docusaurus-sidebars

ts-node helpers/update-docusaurus-sidebars

update-docs-and-sidebars

yarn update-package-list-to-markdown && yarn update-docusaurus-sidebars

build:custom-github-actions

cd ./.github/actions && for d in ./*/ ; do (cd "$d" && npm install && npm run build); done

build:esm

tsc -m esNext --outDir dist/esm

build:cjs

tsc -m commonjs --outDir dist/cjs

build:umd

rollup -c rollup.config.ts --configPlugin typescript

build:types

rollup -c dts.rollup.config.js

build

yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:types

generate:changelog

gulp changelog

release-dev

np prerelease --tag=dev

docs:examples

docusaurus-examples

docs:start

docusaurus start

docs:build

docusaurus build

docs:clear

docusaurus clear

docs:publish-gh-pages

docusaurus-publish

docs:write-translations

docusaurus-write-translations

docs:version

docusaurus docs:version

docs:rename-version

docusaurus-rename-version

docs:deploy

docusaurus deploy

docs:swizzle

docusaurus swizzle

docs:docusaurus

docusaurus

docs:serve

docusaurus serve

contributors:add

all-contributors add

contributors:generate

all-contributors generate

contributors:check

all-contributors check

contributors:update

ts-node helpers/update-all-contributors

Metadata

  • MIT
  • >=10
  • Unknown
  • released 8/18/2021

Downloads

Maintainers