@react-hookz/web
Version:
React hooks done right, for browser and SSR.
86 lines (85 loc) • 1.98 kB
JSON
{
"name": "@react-hookz/web",
"version": "25.1.0",
"description": "React hooks done right, for browser and SSR.",
"keywords": [
"react",
"hook",
"react-hook",
"browser",
"ssr"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-hookz/web.git"
},
"bugs": {
"url": "https://github.com/react-hookz/web/issues"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": "./dist/index.js",
"./*/": "./dist/*/index.js",
"./*": "./dist/*"
},
"files": [
"./dist"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"_postinstall": "husky",
"build": "yarn build:clean && tsc --version && tsc --project ./tsconfig.build.json",
"build:clean": "yarn rimraf ./dist",
"lint": "eslint --version && eslint",
"lint:fix": "eslint --fix",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage"
},
"dependencies": {
"@react-hookz/deep-equal": "^3.0.1"
},
"peerDependencies": {
"js-cookie": "^3.0.5",
"react": "^16.8 || ^17 || ^18 || ^19",
"react-dom": "^16.8 || ^17 || ^18 || ^19"
},
"peerDependenciesMeta": {
"js-cookie": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
"@react-hookz/eslint-config": "^4.1.7",
"@react-hookz/eslint-formatter-gha": "^3.0.4",
"@testing-library/react-hooks": "^8.0.1",
"@types/js-cookie": "^3.0.6",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitest/coverage-v8": "^3.0.8",
"commitlint": "^19.7.1",
"eslint": "^9.21.0",
"husky": "^9.1.7",
"js-cookie": "^3.0.5",
"jsdom": "^26.0.0",
"lint-staged": "^15.4.3",
"pinst": "^3.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.3",
"typescript": "^5.7.3",
"vitest": "^3.0.8"
},
"packageManager": "yarn@4.5.3"
}