Repository navigation
Expand file tree
/
Copy pathknip.json
More file actions
57 lines (57 loc) · 1.51 KB
/
Copy pathknip.json
File metadata and controls
57 lines (57 loc) · 1.51 KB
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
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"workspaces": {
".": {
"entry": [
"scripts/*.{ts,sh}",
"vitest.config.ts",
"vitest.setup.ts",
"benchmarks/**/*.{ts,js}",
"tests/consumer-smoke/*.{mjs,cjs,js}"
],
"project": ["scripts/**/*.ts"],
"ignoreDependencies": [
"size-limit",
"@size-limit/preset-small-lib",
"knip",
"publint",
"@arethetypeswrong/cli",
"@vitest/coverage-v8"
]
},
"packages/core": {
"entry": ["src/index.ts", "src/path.ts", "__tests__/**/*.test.ts", "__tests__/harness/*.ts", "__fixtures__/*.ts"],
"project": ["src/**/*.ts"]
},
"packages/react": {
"entry": ["src/index.ts", "__tests__/**/*.test.{ts,tsx}"],
"project": ["src/**/*.{ts,tsx}"]
},
"packages/vue": {
"entry": ["src/index.ts", "__tests__/**/*.test.{ts,tsx}"],
"project": ["src/**/*.{ts,tsx,vue}"]
},
"packages/svelte": {
"entry": ["src/index.ts", "__tests__/**/*.test.{ts,tsx}"],
"project": ["src/**/*.{ts,svelte}"]
},
"apps/website": {
"entry": [],
"project": []
},
"benchmarks": {
"entry": [],
"project": []
},
"tests/browser-smoke": {
"entry": ["vitest.config.ts", "*.test.{ts,tsx}"],
"project": ["**/*.{ts,tsx}"]
}
},
"ignoreWorkspaces": ["apps/website", "benchmarks", "tests/consumer-smoke"],
"ignoreExportsUsedInFile": true,
"rules": {
"exports": "off",
"types": "off"
}
}