forked from software-mansion/react-native-gesture-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.49 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
115
116
117
118
119
120
121
122
123
124
{
"name": "react-native-gesture-handler",
"version": "1.10.3",
"description": "Experimental implementation of a new declarative API for gesture handling in react-native",
"scripts": {
"prepare": "bob build",
"test": "jest",
"build": "yarn tsc",
"precommit": "lint-staged",
"release": "npm login && release-it",
"ts-check": "yarn tsc --noEmit",
"lint-check": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check src/"
},
"react-native": "src/index.ts",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"android/build.gradle",
"android/src/main/AndroidManifest.xml",
"android/src/main/java/",
"android/lib/build.gradle",
"android/lib/src/main/java/",
"ios/",
"Swipeable/",
"DrawerLayout/",
"README.md",
"jestSetup.js",
"RNGestureHandler.podspec"
],
"repository": {
"type": "git",
"url": "git+https://github.com/software-mansion/react-native-gesture-handler.git"
},
"author": {
"email": "[email protected]",
"name": "Krzysztof Magiera"
},
"license": "MIT",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/software-mansion/react-native-gesture-handler/issues"
},
"homepage": "https://github.com/software-mansion/react-native-gesture-handler#readme",
"dependencies": {
"@egjs/hammerjs": "^2.0.17",
"fbjs": "^3.0.0",
"hoist-non-react-statics": "^3.3.0",
"invariant": "^2.2.4",
"prop-types": "^15.7.2"
},
"jest": {
"preset": "jest-react-native",
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
]
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^26.0.19",
"@types/hammerjs": "^2.0.38",
"@types/react": "^17.0.0",
"@types/react-native": "^0.64.2",
"@types/react-test-renderer": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-jest": "^26.6.3",
"eslint": "^7.15.0",
"eslint-config-satya164": "^3.1.8",
"eslint-import-resolver-babel-module": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"expo": "^35.0.1",
"flow-bin": "^0.98.0",
"husky": "^0.14.3",
"jest": "^24.7.1",
"jest-react-native": "16.0.0",
"lint-staged": "^10.2.11",
"metro-react-native-babel-preset": "^0.64.0",
"prettier": "^2.2.1",
"react": "^16.8.6",
"react-dom": "^16.12.0",
"react-native": "^0.64.0",
"react-native-builder-bob": "^0.17.1",
"react-native-web": "^0.11.7",
"react-test-renderer": "16.8.6",
"release-it": "^13.6.5",
"typescript": "^4.1.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write"
]
},
"release-it": {
"hooks": {
"before:git:bump": [
"# check if version corresponds to changes in native files \n if git diff --name-only ${latestVersion} HEAD | egrep \"(android/.*)|(ios/.*)\" -q; then egrep '\\.0$' -q <<< ${version}; else test $? -eq 1; fi"
]
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}