UNPKG

@rnhooks/keyboard

Version:
115 lines (114 loc) 3.19 kB
{ "name": "@rnhooks/keyboard", "version": "1.1.0", "description": "React Native Hook for Keyboard", "main": "dist/react-native-hooks-keyboard.cjs.js", "jsnext:main": "dist/react-native-hooks-keyboard.esm.js", "module": "dist/react-native-hooks-keyboard.esm.js", "types": "index.d.ts", "scripts": { "prebuild": "rimraf dist", "prepublishOnly": "run-s build", "prepack": "run-s build", "build": "rollup -c", "prettify": "yarn pretty-quick", "test": "jest", "test:watch": "npm run test -- --watch", "test:coverage": "jest --coverage", "lint": "eslint . --ignore-path .gitignore --ext .js --ext .jsx", "fix-lint": "yarn lint -- --fix", "yalc": "npm run build && yalc push" }, "files": [ "dist", "index.d.ts" ], "keywords": [ "react-native", "hooks", "react-native-hooks", "react-native-hooks-keyboard" ], "author": { "name": "Pritish Vaidya", "email": "pritishvaidya94@gmail.com", "url": "https://pritishvaidya.dev" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/react-native-hooks/keyboard" }, "bugs": { "url": "https://github.com/react-native-hooks/keyboard#issues" }, "homepage": "https://github.com/react-native-hooks/keyboard#readme", "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.3.0", "@babel/preset-env": "^7.3.0", "@babel/preset-react": "^7.0.0", "babel-eslint": "^10.0.1", "babel-plugin-module-resolver": "^3.2.0", "eslint": "^5.6.1", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^4.1.0", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jest": "^22.1.3", "eslint-plugin-jsx-a11y": "^6.1.1", "eslint-plugin-node": "^7.0.1", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-react": "^7.11.1", "eslint-plugin-react-native": "^3.3.0", "eslint-plugin-standard": "^4.0.0", "husky": "^1.1.0", "jest": "^23.6.0", "lint-staged": "^8.1.0", "npm-run-all": "^4.1.5", "prettier": "^1.16.4", "pretty-quick": "^1.10.0", "react": "16.8.3", "react-native": "0.59.1", "react-test-renderer": "^16.8.4", "rollup": "^1.6.1", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.1", "rollup-plugin-includepaths": "^0.2.3", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-terser": "^4.0.2" }, "peerDependencies": { "react": ">16.8.0", "react-native": ">=0.65.0" }, "jest": { "preset": "react-native", "transform": { "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" }, "modulePathIgnorePatterns": [ "<rootDir>/example/" ] }, "lint-staged": { "linters": { "*.js": [ "eslint --fix", "prettier --write", "git add" ] }, "ignore": [ "**/test/*.js" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }