Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

knip.json 1.1 KB

You have to be logged in to leave a comment. Sign In
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
  1. {
  2. "$schema": "https://unpkg.com/knip@5/schema.json",
  3. "entry": ["src/index.ts", "src/server/index.ts"],
  4. "project": ["src/**/*.{js,ts,tsx}", "!src/app/**/*"],
  5. "ignore": ["dist/**/*.{js,ts,tsx}", "examples/**/*.{js,ts,tsx,mjs}", "src/server/index.ts"],
  6. "workspaces": {
  7. "src/app": {
  8. "entry": ["src/index.tsx"],
  9. "project": ["src/**/*.{js,ts,tsx}"],
  10. "ignoreDependencies": ["@promptfoo/*", "@kurkle/color"],
  11. "paths": {
  12. "@app/*": ["./src/*"],
  13. "@promptfoo/*": ["../../*"]
  14. }
  15. },
  16. "site": {
  17. "entry": ["src/**/*.{js,ts,tsx}", "blog/**/*.{js,ts,tsx}", "docusaurus.config.ts"],
  18. "project": ["**/*.{js,ts,tsx}"],
  19. "ignoreDependencies": [
  20. "@docusaurus/types",
  21. "@docusaurus/theme-common",
  22. "@theme/*",
  23. "@mui/*",
  24. "@docusaurus/plugin-content-blog",
  25. "@swc/core",
  26. "@swc/jest",
  27. "canvas-confetti",
  28. "framer-motion",
  29. "lucide-react"
  30. ]
  31. }
  32. },
  33. "ignoreBinaries": ["dist/src/main.js", "gh"],
  34. "paths": {
  35. "@promptfoo/*": ["./src/*"]
  36. },
  37. "ignoreExportsUsedInFile": true
  38. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...