forked from wevm/wagmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 4.4 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
129
130
131
132
133
134
135
136
137
138
{
"private": true,
"type": "module",
"scripts": {
"build": "pnpm run --r --filter \"./packages/**\" build",
"changeset:prepublish": "pnpm version:update && pnpm build && bun scripts/formatPackageJson.ts && bun scripts/generateProxyPackages.ts",
"changeset:publish": "pnpm changeset:prepublish && changeset publish",
"changeset:version": "changeset version && pnpm version:update && pnpm format",
"clean": "pnpm run --r --parallel clean && rm -rf packages/**/*.json.tmp",
"deps": "pnpx taze -r",
"dev": "pnpm dev:react",
"dev:cli": "pnpm --filter cli dev",
"dev:core": "pnpm --filter vite-core dev",
"dev:create-wagmi": "pnpm --filter create-wagmi dev",
"dev:next": "pnpm --filter next-app dev",
"dev:nuxt": "pnpm --filter nuxt-app dev",
"dev:react": "pnpm --filter vite-react dev",
"dev:vue": "pnpm --filter vite-vue dev",
"docs:dev": "pnpm --filter site dev",
"check": "biome check --write",
"check:repo": "sherif -i viem",
"check:types": "pnpm run --r --parallel check:types && tsc --noEmit",
"check:unused": "pnpm clean && knip",
"format": "biome format --write",
"postinstall": "pnpm preconstruct",
"preconstruct": "bun scripts/preconstruct.ts",
"preinstall": "pnpx only-allow pnpm",
"prepare": "pnpm simple-git-hooks",
"test": "vitest",
"test:build": "bun scripts/generateProxyPackages.ts && pnpm run --r --parallel test:build",
"test:cli": "vitest --project @wagmi/cli",
"test:core": "vitest --project @wagmi/core",
"test:create-wagmi": "vitest --project create-wagmi",
"test:cov": "vitest run --coverage",
"test:react": "vitest --project wagmi",
"test:typecheck": "vitest typecheck",
"test:update": "vitest --update",
"test:ui": "vitest --ui",
"test:vue": "vitest --project @wagmi/vue",
"version:update": "bun scripts/updateVersion.ts",
"version:update:viem": "bun scripts/updateViemVersion.ts"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@biomejs/biome": "^1.9.4",
"@changesets/changelog-github": "0.4.6",
"@changesets/cli": "^2.27.8",
"@types/bun": "^1.1.10",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"@wagmi/test": "workspace:*",
"bun": "^1.1.29",
"glob": "^10.4.5",
"happy-dom": "^15.7.4",
"knip": "^5.30.6",
"prool": "^0.0.16",
"publint": "^0.2.11",
"sherif": "^1.0.0",
"simple-git-hooks": "^2.11.1",
"typescript": "5.5.4",
"viem": "2.21.28",
"vitest": "^2.1.1"
},
"packageManager": "[email protected]",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"react",
"react-native",
"search-insights"
]
}
},
"engines": {
"node": "22.x"
},
"simple-git-hooks": {
"pre-commit": "pnpm check"
},
"knip": {
"ignore": ["**/templates/**", "**/hardhat.config.js"],
"ignoreBinaries": ["only-allow"],
"ignoreWorkspaces": [
"packages/register-tests/**",
"packages/test",
"playgrounds/**"
],
"workspaces": {
".": {
"project": "scripts/*.ts"
},
"packages/cli": {
"entry": [
"src/cli.ts!",
"src/exports/{config,index,plugins}.ts!",
"types/*.d.ts!"
],
"ignore": ["test/{constants,setup,utils}.ts"]
},
"packages/connectors": {
"entry": "src/exports/index.ts!"
},
"packages/core": {
"entry": "src/exports/{actions,chains,codegen,experimental,index,internal,query}.ts!",
"ignore": ["test/setup.ts"],
"ignoreDependencies": ["@tanstack/query-core"]
},
"packages/create-wagmi": {
"entry": "src/cli.ts!"
},
"packages/react": {
"entry": [
"src/exports/{actions,chains,codegen,connectors,experimental,index,query}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": ["test/setup.ts"]
},
"packages/test": {
"entry": [
"src/{globalSetup,setup}.ts!",
"src/exports/{index,react}.ts!"
]
},
"packages/vue": {
"entry": [
"src/exports/{actions,chains,connectors,index,nuxt,query}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": ["src/nuxt/runtime/*", "test/setup.ts"],
"ignoreDependencies": ["nuxt"]
},
"site": {
"project": ["**/*.ts", "**/*.tsx"]
}
}
}
}