forked from promptfoo/promptfoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknip.json
More file actions
38 lines (38 loc) · 1.09 KB
/
knip.json
File metadata and controls
38 lines (38 loc) · 1.09 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
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"entry": ["src/index.ts", "src/server/index.ts"],
"project": ["src/**/*.{js,ts,tsx}", "!src/app/**/*"],
"ignore": ["dist/**/*.{js,ts,tsx}", "examples/**/*.{js,ts,tsx,mjs}", "src/server/index.ts"],
"workspaces": {
"src/app": {
"entry": ["src/index.tsx"],
"project": ["src/**/*.{js,ts,tsx}"],
"ignoreDependencies": ["@promptfoo/*", "@kurkle/color"],
"paths": {
"@app/*": ["./src/*"],
"@promptfoo/*": ["../../*"]
}
},
"site": {
"entry": ["src/**/*.{js,ts,tsx}", "blog/**/*.{js,ts,tsx}", "docusaurus.config.ts"],
"project": ["**/*.{js,ts,tsx}"],
"ignoreDependencies": [
"@docusaurus/types",
"@docusaurus/theme-common",
"@theme/*",
"@mui/*",
"@docusaurus/plugin-content-blog",
"@swc/core",
"@swc/jest",
"canvas-confetti",
"framer-motion",
"lucide-react"
]
}
},
"ignoreBinaries": ["dist/src/main.js", "gh"],
"paths": {
"@promptfoo/*": ["./src/*"]
},
"ignoreExportsUsedInFile": true
}