UNPKG

hookleton

Version:

globalize your React Hooks without fear using the Hookleton Pattern

86 lines (85 loc) 1.86 kB
{ "name": "hookleton", "version": "0.4.9", "description": "globalize your React Hooks without fear using the Hookleton Pattern", "main": "lib/index.js", "react-native": "lib/index.js", "source": "src/index.js", "types": "src/index.d.ts", "files": [ "lib/", "src/", "LICENSE", "README.md" ], "scripts": { "clean": "rm -rf lib", "build": "rollup -c", "test": "jest --coverage --ci", "coveralls": "cat ./coverage/lcov.info | coveralls", "prepare": "npm run clean && npm run build", "prettier": "pretty-quick" }, "author": "Félix A.A. <bysabi.files@gmail.com>", "keywords": [ "hook", "Hookleton", "React", "React Native", "React SSR", "Singleton", "globalize", "global", "shared state" ], "repository": { "type": "git", "url": "git+https://github.com/bySabi/hookleton.git" }, "bugs": { "url": "https://github.com/bySabi/hookleton/issues" }, "devDependencies": { "@babel/core": "^7.3.4", "@babel/preset-env": "^7.3.4", "coveralls": "^3.0.3", "husky": "^1.3.1", "jest": "^24.3.1", "lint-staged": "^8.1.4", "prettier": "^1.16.4", "pretty-quick": "^1.10.0", "react": "^16.8.2", "react-dom": "^16.8.2", "react-hooks-testing-library": "^0.3.6", "rollup": "^1.4.0", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-cleanup": "^3.1.1", "rollup-plugin-terser": "^4.0.4" }, "peerDependencies": { "react": "*" }, "browserslist": [ "last 2 version", "> 0.25%", "maintained node versions", "not dead" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "linters": { "/**/*.js*": [ "pretty-quick --staged", "git add" ] }, "ignore": [ "lib" ] }, "license": "MIT" }