-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.82 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 1.82 KB
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
{
"name": "react-native-press-guard",
"version": "1.0.0",
"description": "A React Native & Expo package to prevent double taps and rapid presses. Features async locks, cooldown tracking, and optional haptic feedback.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/ycedrick/react-native-press-guard.git"
},
"bugs": {
"url": "https://github.com/ycedrick/react-native-press-guard/issues"
},
"homepage": "https://github.com/ycedrick/react-native-press-guard#readme",
"files": [
"dist",
"src",
"!**/__tests__",
"!**/*.test.*"
],
"scripts": {
"build": "tsup",
"test": "jest",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"prepublishOnly": "npm run build"
},
"keywords": [
"react-native",
"expo",
"press",
"double-tap",
"double-press",
"prevent-double-tap",
"debounce",
"throttle",
"button",
"touchable",
"haptics",
"async"
],
"author": "Cedrick Caceres",
"license": "MIT",
"sideEffects": false,
"peerDependencies": {
"react": ">=18",
"react-native": ">=0.72.0",
"expo-haptics": "*"
},
"peerDependenciesMeta": {
"expo-haptics": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@testing-library/react-native": "^12.4.0",
"@types/jest": "^29.5.0",
"@types/react": "^18.2.0",
"expo-haptics": "^12.0.0",
"jest": "^29.5.0",
"metro-react-native-babel-preset": "^0.77.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-test-renderer": "18.2.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
}
}