forked from wevm/wagmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.29 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
{
"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",
"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",
"format": "biome format --write",
"lint": "biome check",
"lint:fix": "pnpm lint --fix",
"lint:repo": "sherif",
"lint:unused": "pnpm clean && knip",
"postinstall": "pnpm preconstruct",
"preconstruct": "bun .scripts/preconstruct.ts",
"preinstall": "npx only-allow pnpm",
"prepare": "pnpm simple-git-hooks",
"test": "vitest",
"test:build": "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",
"typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit",
"version:update": "bun .scripts/updateVersion.ts",
"version:update:viem": "bun .scripts/updateViemVersion.ts"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@biomejs/biome": "^1.8.0",
"@changesets/changelog-github": "0.4.6",
"@changesets/cli": "^2.27.1",
"@types/bun": "^1.1.1",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@wagmi/test": "workspace:*",
"bun": "^1.1.7",
"glob": "^10.3.12",
"happy-dom": "^12.2.1",
"knip": "^5.13.0",
"prool": "^0.0.11",
"publint": "^0.2.7",
"sherif": "^0.8.4",
"simple-git-hooks": "^2.11.1",
"typescript": "5.4.5",
"viem": "2.9.31",
"vitest": "^1.6.0"
},
"packageManager": "pnpm@9.1.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"react",
"react-native",
"search-insights"
]
}
},
"engines": {
"node": "22.x"
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"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!",
"ignoreDependencies": ["@walletconnect/modal"]
},
"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!",
"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!",
"ignore": ["src/nuxt/runtime/*", "test/setup.ts"],
"ignoreDependencies": ["nuxt"]
},
"site": {
"project": ["**/*.ts", "**/*.tsx"]
}
}
}
}