forked from wevm/abitype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.05 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
{
"private": true,
"type": "module",
"scripts": {
"bench": "vitest bench -c ./packages/abitype/test/vitest.config.ts",
"build": "pnpm run --r --filter \"./packages/**\" build",
"changeset:publish": "pnpm version:update && pnpm build && bun .scripts/generateProxyPackages.ts && changeset publish",
"changeset:version": "changeset version && pnpm version:update",
"clean": "pnpm run --r --parallel clean",
"deps": "pnpx taze -r",
"docs:dev": "rimraf node_modules/.cache/twoslash && pnpm -r --filter docs dev",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "pnpm lint --apply",
"lint:unused": "pnpm clean && knip",
"postinstall": "pnpm preconstruct",
"preconstruct": "bun .scripts/preconstruct.ts",
"preinstall": "npx only-allow@1.1.1 pnpm",
"prepare": "npx simple-git-hooks",
"prepublishOnly": "bun .scripts/formatPackageJson.ts",
"test": "vitest -c ./packages/abitype/test/vitest.config.ts",
"test:build": "pnpm run --r --parallel test:build",
"test:cov": "vitest run --coverage -c ./packages/abitype/test/vitest.config.ts",
"test:typecheck": "vitest typecheck -c ./packages/abitype/test/vitest.config.ts",
"test:update": "vitest --update",
"trace": "tsc --noEmit --generateTrace ./playgrounds/performance/out --incremental false --project playgrounds/performance/tsconfig.json && echo \"Open playgrounds/performance/out/trace.json in https://ui.perfetto.dev\"",
"typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit",
"typecheck:propertyTypes": "pnpm run --r --parallel typecheck --exactOptionalPropertyTypes false && tsc --noEmit --exactOptionalPropertyTypes false",
"version:update": "bun .scripts/updateVersion.ts"
},
"devDependencies": {
"@biomejs/biome": "1.2.2",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.0",
"@vitest/coverage-v8": "0.34.5",
"bun": "1.0.1",
"bun-types": "^1.0.3",
"glob": "^10.3.10",
"knip": "^2.29.0",
"publint": "^0.2.2",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.8.1",
"typescript": "5.0.4",
"typescript@5.1.3": "npm:typescript@5.1.3",
"typescript@5.2.2": "npm:typescript@5.2.2",
"vitest": "0.34.5"
},
"packageManager": "pnpm@8.8.0",
"pnpm": {
"overrides": {
"remark-shiki-twoslash>shiki": "^0.14.1",
"shiki-twoslash>shiki": "^0.14.1"
},
"peerDependencyRules": {
"ignoreMissing": ["@algolia/client-search", "search-insights"]
}
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"knip": {
"ignoreBinaries": ["dev"],
"ignoreDependencies": ["only-allow"],
"ignoreWorkspaces": [
"docs",
"packages/register-tests/**",
"playgrounds/**"
],
"workspaces": {
".": {
"entry": ".scripts/*.ts"
},
"packages/abitype": {
"entry": [
"src/exports/{abis,index,zod}.ts!",
"**/*.bench.ts",
"**/*.test.ts",
"**/*.test-d.ts"
],
"ignoreDependencies": ["zod"]
}
}
}
}