UNPKG

@react-hookz/web

Version:

React hooks done right, for browser and SSR.

80 lines (79 loc) 1.78 kB
{ "name": "@react-hookz/web", "version": "25.2.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": { "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": { "@ver0/deep-equal": "^1.0.0" }, "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": { "@types/js-cookie": "^3.0.6", "@types/node": "^24.7.0", "@types/react": "^19.2.0", "@types/react-dom": "^19.2.0", "@ver0/eslint-config": "^1.3.6", "@ver0/eslint-formatter-gha": "^1.0.1", "@ver0/react-hooks-testing": "^1.0.1", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.37.0", "js-cookie": "^3.0.5", "jsdom": "^27.0.0", "react": "^19.2.0", "react-dom": "^19.2.0", "rimraf": "^6.0.1", "semantic-release": "^24.2.9", "typescript": "^5.9.3", "vitest": "^3.2.4" }, "packageManager": "yarn@4.10.2" }