-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
114 lines (114 loc) · 3.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"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": "[email protected]",
"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"
}
}
}