@wojtekmaj/react-hooks

v1.19.0
A collection of React Hooks.
react hooks

tsc

tsc

lint

eslint .

test

yarn lint && yarn tsc && yarn prettier && yarn unit && yarn unit:node

unit

vitest --config vitest.config.ts

build

yarn build-esm && yarn build-cjs && yarn build-cjs-package

clean

rimraf dist

prepack

yarn clean && yarn build

prettier

prettier --check . --cache

build-cjs

tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --moduleResolution node --verbatimModuleSyntax false

build-esm

tsc --project tsconfig.build.json --outDir dist/esm

unit:node

vitest --config vitest.config.node.ts

build-cjs-package

echo '{ "type": "commonjs" }' > dist/cjs/package.json
npm i @wojtekmaj/[email protected]

Metadata

  • MIT
  • Whatever
  • Wojciech Maj
  • released 2/14/2024

Downloads

Maintainers