UNPKG

react-hooks-simple-global-state

Version:

Simple global state for React with Hooks, which just depends on React's useEffect and useState.

69 lines (68 loc) 1.91 kB
{ "name": "react-hooks-simple-global-state", "version": "1.1.3", "description": "Simple global state for React with Hooks, which just depends on React's useEffect and useState.", "author": { "name": "Ayrton Everton", "email": "ayrtoneverton@gmail.com", "url": "https://github.com/ayrtoneverton" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ayrtoneverton/react-hooks-simple-global-state.git" }, "bugs": { "url": "https://github.com/ayrtoneverton/react-hooks-simple-global-state/issues", "email": "ayrtoneverton@gmail.com" }, "homepage": "https://github.com/ayrtoneverton/react-hooks-simple-global-state#readme", "keywords": [ "react", "hooks", "typescript", "state-management", "state", "states", "functional-components", "react-hooks", "hooks-api-react" ], "scripts": { "lint": "eslint . --ext .ts,.tsx", "jest": "jest --coverage", "test": "npm run lint && npm run jest", "build": "npx tsc -p tsconfig.build.json" }, "devDependencies": { "@testing-library/react": "^16.0.0", "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "@typescript-eslint/eslint-plugin": "^5.20.0", "@typescript-eslint/parser": "^5.20.0", "eslint": "^8.14.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.29.4", "eslint-plugin-react-hooks": "^4.4.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^18.3.1", "ts-jest": "^29.2.4", "ts-node": "^10.9.2", "typescript": "^4.6.3" }, "peerDependencies": { "react": ">=16.8.0" }, "main": "index.js", "files": [ "LICENSE", "README.md", "package.json", "index.js", "index.d.ts" ] }