-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.89 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
{
"name": "use-enstate",
"version": "0.0.0",
"description": "",
"main": "dist/index.js",
"type": "module",
"files": [
"dist",
"tsconfig.json"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./helpers": {
"import": {
"types": "./dist/helpers.d.ts",
"default": "./dist/helpers.js"
},
"require": {
"types": "./dist/helpers.d.cts",
"default": "./dist/helpers.cjs"
}
}
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
],
"helpers": [
"./dist/helpers.d.ts"
]
}
},
"scripts": {
"test": "vitest",
"build": "tsup",
"lint": "eslint -c .eslintrc.json --ext .ts ./src",
"pub": "yarn build && yarn publish --access public"
},
"keywords": [],
"author": "",
"license": "LGPL-3.0",
"peerDependencies": {
"react": "^18.2.0",
"swr": "^2"
},
"devDependencies": {
"@swc/core": "^1.3.67",
"@testing-library/react": "^15.0.2",
"@types/eventsource": "^1.1.15",
"@types/react": "^18.2.79",
"@typescript-eslint/parser": "^5.61.0",
"@vitest/ui": "^1.5.0",
"eslint": "^8.44.0",
"eslint-plugin-v3xlabs": "^1.6.1",
"eventsource": "^2.0.2",
"happy-dom": "^14.7.1",
"jsdom": "^24.0.0",
"msw": "^2.2.14",
"react": "^18.2.0",
"swr": "^2",
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"vitest": "^1.5.0"
}
}