-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.42 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 3.42 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
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
{
"name": "react-http-request-handler",
"version": "1.1.1",
"private": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Lunotte/react-http-request-handler.git"
},
"description": "This React library using customized hooks is aimed to help users handling HTTP requests. The request and its trigger are simply configured, then executed by Axios. Optional parameters can also be configured depending on the web client needs. For example : Configuring the request to be executed once through our historization module; Configuring methods to be called in case of error; Redux users will find means to dispatch the request’s result, whether it was successfully handled or not. The response can be processed before being dispatched.",
"keywords": [
"react",
"react-native",
"axios",
"http",
"request",
"hook",
"custom hook",
"fetch",
"api"
],
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start --reset-cache",
"test": "jest --coverage",
"lint": "eslint .",
"prepare": "bob build",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls"
},
"dependencies": {
"axios": "1.6.0",
"lodash": "4.17.21",
"object-hash": "3.0.0"
},
"devDependencies": {
"@babel/core": "7.21.3",
"@babel/runtime": "7.21.0",
"@react-native-community/cli": "10.2.1",
"@react-native-community/eslint-config": "3.2.0",
"@react-navigation/devtools": "6.0.18",
"@react-navigation/native": "6.1.6",
"@react-navigation/stack": "6.3.16",
"@types/jest": "29.5.0",
"@types/lodash": "4.14.191",
"@types/react": "18.0.28",
"@types/react-native": "0.71.4",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"babel-jest": "29.5.0",
"coveralls": "3.1.1",
"eslint": "8.36.0",
"eslint-plugin-react": "7.32.2",
"jest": "29.5.0",
"metro": "0.76.0",
"metro-react-native-babel-preset": "0.76.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.71.4",
"react-native-builder-bob": "0.20.4",
"react-native-gesture-handler": "2.9.0",
"react-native-reanimated": "2.10.0",
"react-native-safe-area": "0.5.1",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "3.20.0",
"react-native-unimodules": "0.14.10",
"react-native-web": "0.18.12",
"react-redux": "8.0.5",
"react-test-renderer": "18.2.0",
"redux": "4.2.1",
"reselect": "4.1.7",
"typescript": "5.0.2"
},
"peerDependencies": {
"@react-navigation/native": "6.1.6",
"axios": "^0.24.0 || ^0.25.0 || ^0.26.0 || ^0.27.0 || ^1.0.0",
"object-hash": "^2.2.0 || ^3.0.0",
"lodash": "^4.17.21",
"react": "^17.0.2 || ^18.0.0",
"react-dom": "^17.0.2 || ^18.0.0",
"react-redux": "^8.0.0",
"redux": "^4.1.0",
"reselect": "^4.0.0"
},
"main": "lib/commonjs/index.js",
"react-native": "src/index.ts",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}