UNPKG

@landisdesign/use-updatable-state

Version:

A React Hook that updates when it receives a new external value

62 lines (61 loc) 1.62 kB
{ "name": "@landisdesign/use-updatable-state", "version": "1.1.1", "description": "A React Hook that updates when it receives a new external value", "keywords": [ "react", "usestate", "react hooks" ], "homepage": "https://github.com/landisdesign/use-updatable-state#readme", "repository": "github:landisdesign/use-updatable-state", "bugs": "https://github.com/landisdesign/use-updatable-state/issues", "license": "MIT", "author": "Michael Landis", "files": [ "dist" ], "main": "dist/index.js", "scripts": { "build": "rollup -c", "start": "rollup -c -w", "test": "jest" }, "jest": { "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "modulePathIgnorePatterns": [ "<rootDir>/dist/" ] }, "peerDependencies": { "react": ">=16.8" }, "devDependencies": { "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.10", "@babel/preset-typescript": "^7.12.7", "@testing-library/react-hooks": "^3.4.1", "@types/jest": "^26.0.7", "@types/react": "^16.3.13", "@types/react-dom": "^16.0.5", "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", "eslint-plugin-react-hooks": "^4.0.8", "jest": "^26.1.0", "react": "^16.12.0", "react-dom": "^16.12.0", "react-test-renderer": "^16.13.1", "rollup": "^1.29.0", "rollup-plugin-sass": "^1.2.2", "rollup-plugin-typescript2": "^0.25.3", "rollup-plugin-uglify": "^6.0.4", "ts-jest": "^26.1.3", "typescript": "^4.1.3" }, "dependencies": {} }