-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
64 lines (64 loc) · 3.02 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
{
"workspaces": ["examples/*", "playgrounds/*", "site", "src", "test"],
"private": true,
"type": "module",
"scripts": {
"bench": "vitest bench",
"bench:ci": "CI=true vitest bench",
"build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json",
"build:types": "rm -f tsconfig.build.tsbuildinfo && tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap",
"changeset": "changeset",
"changeset:release": "bun run build && changeset publish",
"changeset:version": "changeset version && bun scripts/updateVersion.ts && bun install --lockfile-only",
"clean": "rimraf src/_esm src/_cjs src/_types",
"contracts:build": "forge build --config-path ./test/foundry.toml && bun ./scripts/generateTypedArtifacts.ts",
"dev:docs": "cd site && bun run dev",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "bun run lint --apply",
"postinstall": "bun run contracts:build",
"preinstall": "bun ./scripts/preinstall.ts",
"prepare": "bun x simple-git-hooks",
"size": "size-limit",
"test": "vitest -c ./test/vitest.config.ts dev",
"test:formatter": "vitest -c ./test/vitest.config.ts ./src/chains/suave/formatters.test.ts",
"test:parser": "vitest -c ./test/vitest.config.ts ./src/chains/suave/parsers.test.ts",
"test:cov": "vitest dev -c ./test/vitest.config.ts --coverage",
"test:ci": "CI=true vitest -c ./test/vitest.config.ts --coverage --retry=3 --bail=1",
"test:typecheck": "SKIP_GLOBAL_SETUP=true vitest --typecheck -c ./test/vitest.config.ts",
"test:ui": "vitest dev -c ./test/vitest.config.ts --ui",
"vectors": "bun test vectors/**/*.test.ts",
"vectors:generate": "bun vectors/generate.ts",
"typecheck": "tsc --project ./tsconfig.typecheck.json --noEmit"
},
"devDependencies": {
"@actions/core": "1.10.0",
"@actions/github": "5.1.1",
"@biomejs/biome": "^1.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "2.27.5",
"@ethereumjs/rlp": "^5.0.0",
"@size-limit/preset-big-lib": "^8.2.4",
"@types/fs-extra": "^9.0.13",
"@types/which-pm-runs": "^1.0.0",
"@viem/anvil": "0.0.5",
"@vitest/coverage-v8": "^0.34.3",
"@vitest/ui": "^0.34.3",
"bun-types": "^1.0.1",
"ethers": "^6.0.2",
"fs-extra": "^10.1.0",
"globby": "13.2.2",
"rimraf": "^4.4.1",
"simple-git-hooks": "^2.8.1",
"size-limit": "^8.2.4",
"typescript": "5.0.4",
"vite": "^5.3.1",
"vitest": "1.6.0",
"which-pm-runs": "^1.1.0"
},
"simple-git-hooks": {
"pre-commit": "bun run format && bun run lint:fix"
}
}