forked from base-org/op-viem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.91 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
126
127
128
{
"name": "op-viem",
"version": "1.1.1",
"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,
"license": "MIT",
"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"
},
"./actions": {
"types": "./dist/types/actions/index.d.ts",
"import": "./dist/esm/actions/index.js",
"default": "./dist/cjs/actions/index.js"
},
"./chains": {
"types": "./dist/types/chains/index.d.ts",
"import": "./dist/esm/chains/index.js",
"default": "./dist/cjs/chains/index.js"
},
"./utils": {
"types": "./dist/types/utils/index.d.ts",
"import": "./dist/esm/utils/index.js",
"default": "./dist/cjs/utils/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"actions": [
"./dist/types/actions/index.d.ts"
],
"chains": [
"./dist/types/chains/index.d.ts"
],
"utils": [
"./dist/types/utils/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": "^13.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@types/use-sync-external-store": "^0.0.3",
"@viem/anvil": "^0.0.6",
"@vitest/coverage-v8": "^1.2.2",
"@wagmi/cli": "^1.3.0",
"dprint": "^0.40.2",
"ethers": "^5.7.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.9.0",
"typescript": "5.0.4",
"vitest": "^1.2.2",
"wagmi": "^1.4.12"
},
"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 --outDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"release:check": "changeset status --verbose --since=origin/main",
"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 site dev",
"prepare": "npx simple-git-hooks"
},
"dependencies": {
"@eth-optimism/contracts-ts": "^0.15.0"
},
"peerDependencies": {
"typescript": ">=5.0.4",
"viem": "1.x"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"pnpm": {
"overrides": {
"test-op-viem": "workspace:*"
}
},
"publishConfig": {
"access": "public"
}
}