-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.94 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
{
"name": "turboviem",
"version": "0.0.4",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"sideEffects": false,
"license": "MIT",
"files": [
"dist",
"!dist/**/*.tsbuildinfo",
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.test-d.ts",
"!src/**/*.bench.ts",
"!src/_test/**/*"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./actions": {
"types": "./dist/types/actions/index.d.ts",
"import": "./dist/esm/actions/index.js",
"default": "./dist/cjs/actions/index.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"actions": [
"./dist/types/actions/index.d.ts"
],
"utils": [
"./dist/types/utils/index.d.ts"
]
}
},
"devDependencies": {
"@biomejs/biome": "1.0.0",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@vitest/coverage-v8": "^1.2.2",
"dprint": "^0.40.2",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"typescript": "5.0.4",
"vitest": "^1.2.2"
},
"scripts": {
"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 ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module esnext --outDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"release:check": "changeset status --verbose --since=origin/main",
"release:publish": "bun install && bun build && changeset publish",
"release:version": "changeset version && bun install --lockfile-only",
"clean": "rimraf dist",
"format": "dprint fmt",
"format:check": "dprint check",
"lint": "biome check .",
"lint:fix": "bun lint --apply",
"preinstall": "npx only-allow bun",
"test": "vitest dev",
"test:cov": "vitest dev --coverage",
"test:ci": "CI=true vitest --coverage",
"test:typecheck": "SKIP_GLOBAL_SETUP=true vitest typecheck",
"test:ui": "vitest dev --ui",
"typecheck": "tsc --noEmit",
"bench": "vitest bench",
"bench:ci": "CI=true vitest bench",
"dev:docs": "bun -r --filter site dev",
"prepare": "npx simple-git-hooks"
},
"peerDependencies": {
"typescript": ">=5.0.4",
"viem": "2.x"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"simple-git-hooks": {
"pre-commit": "bun format && bun lint:fix"
},
"publishConfig": {
"access": "public"
}
}