UNPKG

@rozhkov/react-useful-hooks

Version:
73 lines (72 loc) 2.23 kB
{ "name": "@rozhkov/react-useful-hooks", "description": "Useful hooks for React application", "version": "1.0.10", "license": "MIT", "packageManager": "yarn@3.3.1", "sideEffect": false, "repository": "github:rozhkovs/react-useful-hooks", "author": "Sergey Rozhkov <rozhkovse1@gmail.com> (https://github.com/rozhkovs)", "scripts": { "check-all": "yarn run tsc:check && yarn run lint:check && yarn run format:check", "tsc:module": "tsc --module es6 --outDir ./dist/module", "tsc:commonjs": "tsc --module commonjs --outDir ./dist/commonjs", "tsc:build": "rm -rf ./dist && yarn run tsc:module && yarn run tsc:commonjs", "tsc:check": "tsc --noEmit", "test:run": "jest", "lint:fix": "eslint --fix ./src", "lint:check": "eslint ./src", "format:fix": "prettier --write \"./src/**/*.ts\"", "format:check": "prettier --check \"./src/**/*.ts\"", "prepack": "yarn run tsc:build" }, "main": "dist/commonjs/index.js", "module": "dist/module/index.js", "types": "dist/typescript/index.d.ts", "react-native": "src/index.ts", "source": "src/index.ts", "files": [ "src", "dist", "!**/__tests__" ], "keywords": [ "react", "react-native", "hooks", "useful", "utils", "helpers" ], "dependencies": { "default-values": "^1.0.2" }, "peerDependencies": { "react": "^16.8 || ^17 || ^18 || ^19" }, "devDependencies": { "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.27.1", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@types/jest": "^29.5.14", "@types/react": "^19.1.4", "@typescript-eslint/eslint-plugin": "^8.32.1", "@typescript-eslint/parser": "^8.32.1", "babel-jest": "^29.7.0", "eslint": "9.26.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.4.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "3.5.3", "react": "^19.1.0", "react-dom": "^19.1.0", "react-test-renderer": "^19.1.0", "ts-jest": "^29.3.2", "typescript": "^5.8.3" } }