@react-hookz/web
v1.28.0 react hook react-hook browser ssr
build
yarn build:cleanup && concurrently yarn:build:cjs yarn:build:esm yarn:build:esnext --kill-others-on-fail
build:cleanup
rimraf ./cjs ./esm ./esnext ./types
build:cjs
ttsc -p ./tsconfig.build.json --module CommonJS --target ES5 --outDir ./cjs
build:esm
ttsc -p ./tsconfig.build.json --module ES6 --target ES5 --outDir ./esm
build:esnext
ttsc -p ./tsconfig.build.json --module ESNext --target ESNext --outDir ./esnext
new-hook
node ./utility/add-new-hook.js
test
jest --selectProjects dom ssr
test:coverage
yarn test --coverage
lint
eslint ./ ./.storybook --ext ts,js,tsx,jsx,md,mdx
lint:fix
yarn lint --fix
storybook:watch
start-storybook -p 6006 --docs -s ./.storybook/public --no-manager-cache
storybook:build
build-storybook --docs -o ./storybook-build -s ./.storybook/public
storybook:deploy
storybook-to-ghpages -s storybook:build