-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 3.04 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
{
"name": "@mittwald/react-use-promise",
"version": "1.0.0",
"packageManager": "[email protected]",
"author": "Mittwald CM Service GmbH & Co. KG <[email protected]>",
"contributors": [
"Marco Falkenberg <[email protected]>"
],
"type": "module",
"description": "Simple and declarative use of Promises in your React components. Observe their state and refresh them in various advanced ways.",
"keywords": [
"async",
"axios",
"cache",
"fetch",
"hooks",
"http",
"load",
"react",
"react-suspense",
"suspense"
],
"homepage": "https://github.com/mittwald/react-use-promise#readme",
"repository": "github:mittwald/react-use-promise",
"license": "MIT",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js"
},
"./http": {
"types": "./dist/types/http/index.d.ts",
"import": "./dist/esm/http/index.js"
},
"./store": {
"types": "./dist/types/store/index.d.ts",
"import": "./dist/esm/store/index.js"
},
"./package.json": "./package.json"
},
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "run build:clean && run tsc",
"build:clean": "run rimraf dist",
"format": "run prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx}'",
"license-check": "run pnpify license-checker-rseidelsohn $*",
"test": "run test:tsc && run test:lint && run test:build && run test:jest && run test:licenses",
"test:build": "run build",
"test:jest": "node --experimental-vm-modules $(yarn bin jest)",
"test:licenses": "run license-check --unknown --failOn 'UNLICENSED;UNKNOWN'",
"test:lint": "run eslint . --cache",
"test:packages": "yarn all run test",
"test:tsc": "run tsc --noEmit"
},
"dependencies": {
"@types/luxon": "3.4.2",
"browser-or-node": "^3.0.0",
"luxon": "~3.5.0",
"minimatch": "^10.0.1",
"object-code": "^1.3.3"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.13",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@yarnpkg/pnpify": "^4.1.2",
"axios": "^1.7.7",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"license-checker-rseidelsohn": "^4.4.2",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-pkgsort": "^0.2.1",
"prettier-plugin-sort-json": "^4.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"tsd": "^0.31.2",
"typescript": "^5.6.2"
},
"peerDependencies": {
"axios": "^1.6.7",
"react": ">=17.0"
},
"peerDependenciesMeta": {
"axios": {
"optional": true
}
}
}