-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
139 lines (139 loc) · 5.23 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
139
{
"name": "ox",
"private": true,
"type": "module",
"scripts": {
"bench": "vitest -c ./test/vitest.config.ts bench",
"bench:types": "TYPES=true vitest -c ./test/vitest.config.ts src/**/*.bench-d.ts",
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types",
"build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap",
"changeset:prepublish": "pnpm version:update && pnpm build && tsx scripts/prepublish.ts",
"changeset:publish": "pnpm changeset:prepublish && changeset publish",
"changeset:version": "changeset version && pnpm version:update && pnpm format",
"check": "biome check . --fix --unsafe",
"check:repo": "sherif",
"check:tsdoc": "eslint src -c scripts/docgen/tsdoc.config.js --ignore-pattern 'src/_esm/**/*.js'",
"check:types": "tsc --noEmit",
"clean": "rimraf src/_types src/_esm src/_cjs ./tsconfig.build.tsbuildinfo src/tsconfig.build.tsbuildinfo",
"contracts:build": "forge build --config-path ./contracts/foundry.toml && tsx contracts/scripts/generate-typed-artifacts.ts",
"deps": "pnpx taze -r",
"dev": "pnpm preconstruct && pnpm playground",
"docs:dev": "pnpm --filter site dev",
"docs:extract": "pnpm api-extractor run -c scripts/docgen/api-extractor.json && tsx scripts/docgen/build.ts",
"docs:gen": "pnpm clean && pnpm build:types && pnpm docs:extract",
"docs:build": "pnpm docs:gen && pnpm --filter site build",
"knip": "knip --production",
"format": "biome format --write",
"postinstall": "git submodule update --init --recursive && pnpm contracts:build && pnpm preconstruct",
"preconstruct": "tsx ./scripts/preconstruct.ts",
"preinstall": "pnpx only-allow pnpm",
"prepare": "pnpm simple-git-hooks",
"size": "size-limit",
"test": "vitest -c ./test/vitest.config.ts",
"test:ci": "CI=true vitest -c ./test/vitest.config.ts --coverage --retry=3 --bail=1",
"test:cov": "vitest -c ./test/vitest.config.ts --coverage",
"test:types": "TYPES=true vitest -c ./test/vitest.config.ts",
"vectors": "bun test vectors/**/*.test.ts",
"vectors:generate": "bun vectors/generate.ts",
"version:update": "tsx ./scripts/update-version.ts"
},
"devDependencies": {
"@ark/attest": "^0.16.0",
"@biomejs/biome": "^1.8.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@ethereumjs/rlp": "^5.0.2",
"@ethereumjs/util": "^9.0.3",
"@microsoft/api-extractor": "^7.47.7",
"@microsoft/api-extractor-model": "^7.29.6",
"@microsoft/tsdoc": "^0.15.0",
"@microsoft/tsdoc-config": "^0.17.0",
"@size-limit/preset-big-lib": "^11.1.4",
"@types/bun": "^1.1.6",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.5.4",
"@vitest/coverage-v8": "1.0.4",
"bun": "^1.1.24",
"c-kzg": "^2.1.2",
"eslint": "^9.9.0",
"eslint-plugin-jsdoc": "^50.0.1",
"eslint-plugin-tsdoc": "^0.3.0",
"ethers": "^6.13.2",
"fs-extra": "^11.2.0",
"knip": "^5.27.2",
"prool": "^0.0.16",
"rimraf": "^5.0.10",
"sherif": "^0.11.0",
"simple-git-hooks": "^2.11.1",
"size-limit": "^11.1.4",
"ts-morph": "^24.0.0",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0",
"viem": "^2.21.9",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "1.0.4",
"vocs": "1.0.0-alpha.62",
"web3": "^4.12.1"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=22"
},
"simple-git-hooks": {
"pre-commit": "pnpm check"
},
"knip": {
"ignore": [
".github/**",
"contracts/**",
"scripts/**",
"src/_test/**",
"site/**",
"test/**",
"vectors/**",
"src/package.json",
"tsdoc.config.js"
],
"ignoreBinaries": ["dev", "forge", "only-allow", "printf"],
"ignoreDependencies": ["@size-limit/preset-big-lib"],
"vitest": {
"config": ["test/vitest.config.ts"],
"entry": ["**/*.{bench,bench-d,test,test-d,spec}.?(c|m)[jt]s?(x)"]
},
"workspaces": {
"src": {
"entry": ["index.ts!", "trusted-setups/index.ts!", "window/index.ts!"]
}
}
},
"pnpm": {
"overrides": {
"@microsoft/api-extractor>typescript": "^5.5.4",
"hono@<4.2.7": ">=4.2.7",
"ws@>=8.0.0 <8.17.1": ">=8.17.1",
"hono@<4.5.8": ">=4.5.8",
"micromatch@<4.0.8": ">=4.0.8",
"webpack@>=5.0.0-alpha.0 <5.94.0": ">=5.94.0",
"rollup@>=4.0.0 <4.22.4": ">=4.22.4",
"hono@<4.6.5": ">=4.6.5"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
},
"size-limit": [
{
"name": "import * from 'ox'",
"path": "./src/_esm/index.js",
"import": "*"
},
{
"name": "import { Hex } from 'ox'; console.log(Hex.assert)",
"path": "./src/_esm/index.js",
"import": "{ Hex.assert }"
}
]
}