-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) · 2.42 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
{
"name": "react-native-ios-keyboard-events",
"version": "0.1.1",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/nossbigg/react-native-ios-keyboard-events"
},
"author": "Cheng Gibson <chenggibson@gmail.com>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "npm run ipad",
"ipad": "react-native run-ios --simulator='iPad Air 2 (13.0) (13.0)'",
"iphone": "react-native run-ios --simulator='iPhone 8 Plus (13.0) (13.0)'",
"android": "react-native run-android",
"test": "jest --watch",
"test:once": "jest",
"test:coverage": "jest && codecov",
"tslint": "tslint -c tslint.json -p tsconfig.json 'src/**/*.{ts,tsx}'",
"lint": "npm run tslint && npm run typecheck",
"lint:fix": "prettier --write 'src/**/*.{ts,tsx}' && npm run tslint -- --fix && npm run typecheck",
"typecheck": "tsc --noEmit",
"build": "rm -rf dist && tsc",
"build:dist": "rm -rf dist && tsc -p tsconfig-dist.json",
"dist": "npm run lint && npm run test:once && npm run build:dist"
},
"dependencies": {
"deep-equal": "^1.0.1",
"events": "^3.0.0",
"queue": "^5.0.0"
},
"peerDependencies": {
"react": ">=16.6.3",
"react-native": ">=0.58.1"
},
"devDependencies": {
"@types/deep-equal": "^1.0.1",
"@types/events": "^3.0.0",
"@types/jest": "^23.3.13",
"@types/react": "^16.7.21",
"@types/react-native": "^0.57.34",
"@types/react-test-renderer": "^16.0.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "24.0.0",
"codecov": "^3.6.5",
"husky": "^1.3.1",
"jest": "24.8.0",
"metro-react-native-babel-preset": "0.51.1",
"prettier": "^1.16.1",
"react": "16.8.6",
"react-native": "0.60.6",
"react-test-renderer": "16.6.3",
"ts-jest": "^23.10.5",
"tslint": "^5.12.1",
"typescript": "3.8.2"
},
"files": [
"dist"
],
"keywords": [
"react-native",
"ios",
"keyboard",
"events",
"split",
"apple"
],
"jest": {
"preset": "react-native",
"clearMocks": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/?(*.)+(spec|test).[tj]s?(x)"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test:once"
}
},
"prettier": {
"trailingComma": "all",
"arrowParens": "always"
}
}