-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.06 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.06 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
{
"name": "@0xsequence/hooks",
"version": "5.4.1",
"description": "React hooks for Sequence Web SDK",
"repository": "https://github.com/0xsequence/web-sdk/tree/master/packages/hooks",
"author": "Horizon Blockchain Games",
"license": "Apache-2.0",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "pnpm build:clean && pnpm build:esm && pnpm build:cjs",
"build:cjs": "tsc --module commonjs --moduleResolution node --verbatimModuleSyntax false --declaration --declarationMap --outDir dist/cjs && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"build:esm": "tsc --verbatimModuleSyntax false --declaration --declarationMap --outDir dist/esm",
"build:clean": "rimraf -g ./dist",
"build:check": "attw --pack .",
"dev": "tsc --watch --module es2022 --moduleResolution node --declaration --declarationMap --outDir dist/esm",
"test": "vitest --run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@0xsequence/api": ">=2.3.23",
"@0xsequence/indexer": ">=2.3.23",
"@0xsequence/metadata": ">=2.3.23",
"@0xsequence/network": ">=2.3.23",
"@tanstack/react-query": ">= 5",
"react": ">= 17",
"react-dom": ">= 17",
"viem": ">= 2.28.0"
},
"devDependencies": {
"@0xsequence/api": "2.3.23",
"@0xsequence/indexer": "^2.3.23",
"@0xsequence/metadata": "^2.3.23",
"@0xsequence/network": "^2.3.23",
"@tanstack/react-query": "^5.74.11",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@vitejs/plugin-react": "^4.4.1",
"jsdom": "^25.0.1",
"msw": "^2.7.5",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "^5.8.3",
"viem": "^2.28.1",
"vite": "^6.3.4",
"vitest": "^2.1.9"
}
}