-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.81 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
{
"name": "@ts-clarity/root",
"private": true,
"type": "module",
"scripts": {
"bench": "vitest bench -c ./packages/ts-clarity/test/vitest.config.ts",
"build": "pnpm run --r --filter \"./packages/**\" build",
"clean": "pnpm run --r --parallel clean",
"deps": "pnpx taze -r",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "pnpm lint --write",
"lint:unused": "pnpm clean && knip",
"prepare": "npx simple-git-hooks",
"prepublishOnly": "tsc && node build/formatPackageJson.js",
"test": "vitest -c ./packages/ts-clarity/test/vitest.config.ts",
"test:build": "pnpm run --r --parallel test:build",
"test:cov": "vitest run --coverage -c ./packages/ts-clarity/test/vitest.config.ts",
"test:typecheck": "vitest typecheck -c ./packages/ts-clarity/test/vitest.config.ts",
"test:update": "vitest --update",
"typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit",
"typecheck:propertyTypes": "pnpm run --r --parallel typecheck --exactOptionalPropertyTypes false && tsc --noEmit --exactOptionalPropertyTypes false"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^2.1.8",
"knip": "^5.41.1",
"publint": "^0.2.12",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]",
"simple-git-hooks": {
"pre-commit": "pnpm run lint"
},
"knip": {
"ignoreDependencies": ["@vitest/coverage-v8"],
"workspaces": {
".": {
"entry": "scripts/*.ts"
},
"packages/ts-clarity": {
"entry": [
"src/index.ts!",
"**/*.bench.ts",
"**/*.test.ts",
"**/*.test-d.ts",
"**/vitest.*.ts"
]
}
}
}
}