UNPKG

react-use-mapped-state

Version:
102 lines (101 loc) 3.32 kB
{ "name": "react-use-mapped-state", "version": "4.0.2", "description": "A react hook that manages useState calls for you", "author": "901david", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/901david/react-use-mapped-state.git" }, "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "test": "cross-env CI=1 react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom", "build": "rollup -c", "start": "rollup -c -w", "prepare": "npm run build", "tsc:dev": "tsc src/ProtectedMap.ts --watch --downlevelIteration" }, "peerDependencies": { "react": "^16.8.6" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-do-expressions": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.0.0", "@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-function-bind": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.0.0", "@babel/plugin-proposal-pipeline-operator": "^7.0.0", "@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@testing-library/react": "^9.4.0", "@testing-library/react-hooks": "^3.2.1", "babel-eslint": "^10.0.3", "cross-env": "^5.2.0", "eslint": "^6.1.0", "eslint-config-standard": "^11.0.0", "eslint-config-standard-react": "^6.0.0", "eslint-plugin-import": "^2.13.0", "eslint-plugin-node": "^7.0.1", "eslint-plugin-promise": "^4.0.0", "eslint-plugin-react": "^7.10.0", "eslint-plugin-standard": "^3.1.0", "gh-pages": "^2.0.1", "react": "^16.8.6", "react-scripts": "^3.0.1", "react-test-renderer": "^16.8.0", "rollup": "^1.1.2", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-copy": "^3.3.0", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-url": "^2.1.0", "@types/react": "^16.9.19", "rollup-plugin-typescript2": "^0.29.0", "typescript": "^4.1.3" }, "bugs": { "url": "https://github.com/901david/react-use-mapped-state/issues" }, "homepage": "https://github.com/901david/react-use-mapped-state#readme", "keywords": [ "react", "hooks", "usemappedstate", "use", "mapped", "state", "managed", "state" ], "files": [ "/dist/index.js", "/dist/index.es.js", "/dist/index.es.js.map", "/dist/index.js.map", "/dist/index.d.ts", "/dist/ProtectedMap.d.ts", "/CHANGELOG.md", "/README.md" ] }