-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
125 lines (125 loc) · 3.88 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "op-wagmi",
"repository": {
"type": "git",
"url": "https://github.com/base-org/op-wagmi.git"
},
"version": "1.0.0",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"!dist/**/*.tsbuildinfo",
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.test-d.ts",
"!src/**/*.bench.ts",
"!src/_test/**/*"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./hooks": {
"types": "./dist/types/hooks/index.d.ts",
"import": "./dist/esm/hooks/index.js",
"default": "./dist/cjs/hooks/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"hooks": [
"./dist/types/hooks/index.d.ts"
]
}
},
"devDependencies": {
"@biomejs/biome": "1.0.0",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@eth-optimism/core-utils": "^0.12.3",
"@eth-optimism/sdk": "^3.1.2",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@types/use-sync-external-store": "^0.0.3",
"@viem/anvil": "^0.0.7",
"@vitest/coverage-v8": "^1.2.2",
"@wagmi/cli": "^2.1.1",
"dprint": "^0.42.5",
"ethers": "^5.7.0",
"happy-dom": "^12.10.3",
"react": "^18",
"react-dom": "^18",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.9.0",
"typedoc": "^0.25.3",
"typedoc-plugin-markdown": "^3.17.0",
"typescript": "5.0.4",
"vitest": "^1.2.2",
"@testing-library/react-hooks": "^8.0.1",
"@tanstack/react-query": ">=5.0.0",
"@wagmi/connectors": "^4.1.14"
},
"scripts": {
"build": "pnpm run clean && pnpm run build:cjs && pnpm run build:esm && pnpm run build:types",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"generate:docs": "pnpm run typedoc",
"release:check": "changeset status --verbose --since=origin/master",
"release:publish": "pnpm install && pnpm build && changeset publish",
"release:version": "changeset version && pnpm install --lockfile-only",
"clean": "rimraf dist",
"format": "dprint fmt",
"format:check": "dprint check",
"lint": "biome check .",
"lint:fix": "pnpm lint --apply",
"preinstall": "npx only-allow pnpm",
"test": "vitest dev",
"test:cov": "vitest dev --coverage",
"test:ci": "CI=true vitest --coverage",
"test:typecheck": "SKIP_GLOBAL_SETUP=true vitest typecheck",
"test:ui": "vitest dev --ui",
"typecheck": "tsc --noEmit",
"bench": "vitest bench",
"bench:ci": "CI=true vitest bench",
"dev:docs": "pnpm -r --filter docs dev",
"dev:example": "pnpm -r --filter example dev",
"prepare": "npx simple-git-hooks"
},
"dependencies": {
"@eth-optimism/contracts-ts": "^0.15.0"
},
"peerDependencies": {
"@tanstack/react-query": ">=5.0.0",
"@wagmi/core": "^2.x",
"op-viem": "1.3.1-alpha",
"typescript": ">=5.0.4",
"viem": "^2.7.11",
"wagmi": "^2.x"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"pnpm": {
"overrides": {
"test-op-wagmi": "workspace:*"
}
},
"publishConfig": {
"access": "public"
}
}