UNPKG

bresnow_utility-react-hooks

Version:

Modular utility hooks that we often use grouped in one package. Written in TypeScript, documented, tested and maintained.Disclaimer: at least React 16 is needed (the one with hooks ;) )

81 lines (80 loc) 1.93 kB
{ "name": "bresnow_utility-react-hooks", "version": "0.2.9", "description": "Modular utility hooks that we often use grouped in one package. Written in TypeScript, documented, tested and maintained.Disclaimer: at least React 16 is needed (the one with hooks ;) )", "author": "bresnow", "license": "Apache-2.0", "repository": "https://github.com/bresnow/utility-hooks", "main": "dist/index.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "build": "rollup -c", "start": "rollup -c -w", "test": "jest" }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "modulePathIgnorePatterns": [ "<rootDir>/dist/" ] }, "peerDependencies": { "react": "^18.0.1", "react-dom": "^18.0.1" }, "devDependencies": { "@testing-library/react-hooks": "^3.4.1", "@types/jest": "^26.0.7", "@types/react": "^18.0.1", "@types/react-dom": "^18.0.1", "babel-core": "^6.26.3", "babel-runtime": "^6.26.0", "eslint-plugin-react-hooks": "^4.0.8", "jest": "^26.1.0", "react": "18.0.5", "react-dom": "18.0.5", "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": "^3.8.3" }, "files": [ "dist" ], "keywords": [ "react", "hooks", "utility", "bresnow", "useIf", "useLZ", "object", "compression", "lz-object", "lzma", "lz-string", "utf-16", "base64", "uint8array" ], "dependencies": { "lz-object": "^0.1.7", "prop-types": "^15.7.2", "react": "18.1.0-next-fc47cb1b6-20220404", "react-dom": "18.1.0-next-fc47cb1b6-20220404" } }