UNPKG

react-ready-state-effect

Version:
54 lines (53 loc) 1.64 kB
{ "name": "react-ready-state-effect", "version": "1.0.4", "description": "React Effect Hook based on document.readyState", "main": "dist/ready-state-effect.cjs.js", "module": "dist/ready-state-effect.esm.js", "types": "dist/types/index.d.ts", "scripts": { "lint": "tslint --project .", "build:types": "tsc --project tsconfig.types.json", "build:compile": "rollup -c", "build:rm": "rm -rf ./dist", "build": "npm run lint && npm run build:rm && npm run build:types && npm run build:compile", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/Horat1us/react-ready-state-effect.git" }, "keywords": [ "react", "document", "ready state", "readystate", "hook", "effect", "document.readyState" ], "author": "Alexander <horat1us>", "license": "UNLICENSED", "bugs": { "url": "https://github.com/Horat1us/react-ready-state-effect/issues" }, "homepage": "https://github.com/wHorat1us/react-ready-state-effect#readme", "devDependencies": { "@babel/core": "^7.26.0", "@babel/plugin-transform-class-properties": "^7.25.9", "@babel/plugin-transform-object-rest-spread": "^7.25.9", "@babel/preset-env": "^7.26.0", "@babel/preset-typescript": "^7.26.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-node-resolve": "^15.3.0", "@types/react": "^19.0.0", "react": "^19.0.0", "rollup": "^4.28.1", "tslint": "^5.18.0", "tslint-react": "^4.0.0", "typescript": "^5.7.2" }, "peerDependencies": { "react": "^16.8.6 || 17.x || 18.x || 19.x" } }