-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
73 lines (73 loc) · 2.93 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
{
"private": true,
"type": "module",
"scripts": {
"bench": "vitest bench -c ./packages/abitype/test/vitest.config.ts",
"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",
"docs:dev": "pnpm -r --filter docs dev",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "pnpm lint --apply",
"lint:repo": "sherif",
"lint:unused": "pnpm clean && knip --ignore-internal",
"postinstall": "pnpm preconstruct",
"preconstruct": "bun .scripts/preconstruct.ts",
"preinstall": "npx only-allow pnpm",
"prepare": "npx simple-git-hooks",
"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\"",
"typebench": "pnpm run --r --parallel typebench",
"typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit",
"typecheck:propertyTypes": "pnpm run --r --parallel typecheck --exactOptionalPropertyTypes false && tsc --noEmit --exactOptionalPropertyTypes false",
"typeperf": "pnpm run --r --parallel typeperf",
"version:update": "bun .scripts/updateVersion.ts"
},
"devDependencies": {
"@arktype/attest": "0.0.4",
"@biomejs/biome": "1.2.2",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.27.1",
"@ethersproject/abi": "^5.7.0",
"@types/bun": "^1.1.1",
"@vitest/coverage-v8": "^1.6.0",
"bun": "^1.1.7",
"ethers": "^6.9.1",
"glob": "^10.3.12",
"knip": "^5.16.0",
"publint": "^0.2.7",
"sherif": "^0.8.4",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.7.0",
"typescript": "5.0.4",
"vitest": "^1.6.0"
},
"packageManager": "[email protected]",
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"knip": {
"ignoreBinaries": ["dev", "only-allow"],
"ignoreWorkspaces": ["packages/register-tests/**", "playgrounds/**"],
"workspaces": {
".": {
"project": ".scripts/*.ts"
},
"docs": {
"project": ["**/*.ts", "**/*.tsx"]
},
"packages/abitype": {
"entry": ["src/exports/{abis,index,zod}.ts!"],
"project": ["src/**/*.ts", "test/**/*.ts"]
}
}
}
}