UNPKG

react-hook-granth

Version:

A collection of custom React hooks for efficient state management and UI logic.

81 lines (80 loc) 2.3 kB
{ "name": "react-hook-granth", "version": "1.0.1", "description": "A collection of custom React hooks for efficient state management and UI logic.", "type": "module", "repository": { "type": "git", "url": "https://github.com/yuvrajkarna2717/react-hook-granth" }, "keywords": [ "react-library", "react", "hooks", "custom hooks", "reusable-hooks", "ui-logic", "react-hook-granth" ], "author": "Yuvraj Karna", "license": "MIT", "private": false, "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.esm.js", "require": "./dist/index.js" } }, "scripts": { "test": "vitest", "build": "rollup -c", "build:watch": "rollup -c -w", "prepublishOnly": "npm run build && npm test", "clean": "rimraf dist", "lint": "eslint src", "lint:fix": "eslint src --fix", "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "check": "npm run lint && npm run format:check && npm test", "fix": "npm run lint:fix && npm run format", "type-check": "tsc --noEmit" }, "files": [ "dist", "README.md", "LICENSE" ], "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-typescript": "^12.1.1", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@testing-library/dom": "^10.4.0", "@types/react": "^18.3.27", "@types/react-dom": "^18.3.7", "jsdom": "^26.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^6.0.1", "rollup": "^4.28.1", "rollup-plugin-dts": "^6.1.1", "tslib": "^2.8.1", "typescript": "^5.7.2", "vitest": "^2.1.8", "@eslint/js": "^9.17.0", "@typescript-eslint/eslint-plugin": "^8.18.1", "@typescript-eslint/parser": "^8.18.1", "eslint": "^9.17.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.0.0", "prettier": "^3.4.2" } }