-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.12 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
{
"type": "module",
"name": "use-suspender",
"version": "2.0.0-beta.0",
"description": "Wraps asynchronous function allowing to use it with React.Suspense",
"keywords": ["react-suspense", "suspense", "hooks", "react-hooks"],
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c",
"main": "./lib/useSuspender.js",
"types": "./lib/useSuspender.d.ts",
"exports": {
"import": {
"types": "./lib/useSuspender.d.ts",
"default": "./lib/useSuspender.js"
},
"require": {
"types": "./lib/useSuspender.d.cts",
"default": "./lib/useSuspender.cjs"
},
"default": {
"types": "./lib/useSuspender.d.ts",
"default": "./lib/useSuspender.js"
}
},
"repository": "octet-stream/use-suspender",
"author": "Nick K. <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"cleanup": "del-cli lib",
"build": "del-cli lib && tsup",
"size-limit": "size-limit",
"staged": "lint-staged",
"coverage": "c8 npm test",
"test": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" ava",
"lint:types": "tsc --noEmit",
"lint": "biome lint --write .",
"ci": "c8 npm test && c8 report --reporter=json",
"prepare": "npx is-in-ci || husky install"
},
"devDependencies": {
"@biomejs/biome": "1.9.1",
"@octetstream/eslint-config": "7.2.1",
"@size-limit/preset-small-lib": "8.2.4",
"@testing-library/react": "14.1.0",
"@types/node": "20.9.0",
"@types/react": "18.2.37",
"@types/sinon": "17.0.1",
"ava": "5.3.1",
"c8": "8.0.1",
"cross-env": "7.0.3",
"del-cli": "5.1.0",
"global-jsdom": "9.1.0",
"husky": "8.0.3",
"jsdom": "22.1.0",
"lint-staged": "15.0.2",
"nanoid": "5.0.3",
"pinst": "3.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"sinon": "17.0.1",
"size-limit": "8.2.4",
"ts-node": "10.9.1",
"tsup": "7.2.0",
"typescript": "5.2.2"
},
"peerDependencies": {
"react": "18.x"
},
"dependencies": {
"react-fast-compare": "3.2.2"
}
}