react-native-dismiss-keyboard
Version:
A simple way to dismiss the keyboard programmatically in a react native application.
92 lines (91 loc) • 2.1 kB
JSON
{
"name": "react-native-dismiss-keyboard",
"version": "1.0.0",
"description": "A simple way to dismiss the keyboard programmatically in a react native application.",
"main": "dist/index.js",
"scripts": {
"babel": "babel *.js --out-dir dist",
"build": "npm run-script clear && npm run-script babel",
"clear": "rm -rf dist/ && mkdir dist/",
"prepublish": "npm run build",
"test": "xo"
},
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git@github.com:DanielMSchmidt/react-native-dismiss-keyboard.git"
},
"author": "Daniel Schmidt <daniel.maximilian@gmx.net> (https://github.com/DanielMSchmidt)",
"xo": {
"ignores": [
"DismissKeyboardExample/**",
"dist/*"
],
"esnext": true,
"space": 2,
"plugins": [
"react"
],
"rules": {
"babel/object-curly-spacing": [
2,
"always"
],
"comma-dangle": [
2,
"always-multiline"
],
"react/jsx-curly-spacing": 2,
"strict": [
2,
"never"
],
"no-use-before-define": 0,
"one-var": [
2,
{
"uninitialized": "always",
"initialized": "never"
}
],
"react/no-set-state": 1,
"react/prop-types": 2,
"react/jsx-sort-prop-types": 2,
"react/jsx-closing-bracket-location": [
2,
{
"selfClosing": "after-props",
"nonEmpty": "after-props"
}
],
"react/jsx-indent-props": [
2,
2
],
"react/self-closing-comp": 2
}
},
"keywords": [
"react-component",
"react",
"react-native",
"ios",
"android",
"keyboard",
"dismiss"
],
"license": "MIT",
"devDependencies": {
"babel": "^5.8.34",
"babel-eslint": "^5.0.0-beta6",
"eslint": "^1.10.3",
"eslint-config-xo": "^0.9.1",
"eslint-plugin-babel": "^3.0.0",
"eslint-plugin-no-empty-blocks": "0.0.2",
"eslint-plugin-no-use-extend-native": "^0.3.3",
"eslint-plugin-react": "^3.13.1",
"xo": "^0.12.1"
}
}