forked from dalechyn/fhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.48 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": {
"build": "pnpm clean && 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:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap",
"changeset:prepublish": "pnpm version:update && bun scripts/prepublishOnly.ts && pnpm build",
"changeset:publish": "pnpm changeset:prepublish && changeset publish",
"changeset:version": "changeset version && pnpm install --lockfile-only && pnpm version:update && pnpm format",
"clean": "rm -rf *.tsbuildinfo src/*.tsbuildinfo src/_esm src/_types",
"format": "biome format --write",
"lint": "biome check --fix",
"lint:repo": "sherif",
"lint:unused": "pnpm clean && knip",
"preconstruct": "bun scripts/preconstruct.ts",
"protobufs": "buf generate",
"prepare": "pnpm simple-git-hooks",
"prepublishOnly": "bun scripts/prepublishOnly.ts",
"size": "size-limit",
"test:build": "publint --strict ./src",
"typecheck": "tsc --noEmit",
"version:update": "bun scripts/updateVersion.ts"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
"@bufbuild/buf": "^1.44.0",
"@bufbuild/protoc-gen-es": "^2.2.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@types/bun": "latest",
"@types/node": "^22.7.4",
"buf": "^0.1.1",
"knip": "^5.33.3",
"publint": "^0.2.11",
"sherif": "^1.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.6.2"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"packageManager": "[email protected]",
"engines": {
"node": "22.x"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint"
},
"knip": {
"ignore": [".github/**"],
"ignoreDependencies": ["bun", "@size-limit/preset-big-lib"],
"ignoreWorkspaces": ["examples/**", "test"],
"workspaces": {
".": {
"project": "scripts/*.ts"
},
"src": {
"entry": ["index.ts!", "{}/index.ts!"]
},
"accounts": {
"entry": ["index.ts!", "{accounts}/index.ts!", "{}/index.ts!"]
},
"actions": {
"entry": ["index.ts!", "{accounts}/index.ts!", "{}/index.ts!"]
},
"clients": {
"entry": ["index.ts!", "{clients}/index.ts!", "{}/index.ts!"]
}
}
},
"size-limit": []
}