2024-06-22 14:42:41 +00:00
|
|
|
{
|
|
|
|
"name": "khoj-ai",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"dev": "next dev",
|
|
|
|
"build": "next build",
|
|
|
|
"start": "next start",
|
|
|
|
"lint": "next lint",
|
|
|
|
"collectstatic": "bash -c 'pushd ../../../ && source .venv/bin/activate && python3 src/khoj/manage.py collectstatic --noinput && deactivate && popd'",
|
|
|
|
"cicollectstatic": "bash -c 'pushd ../../../ && python3 src/khoj/manage.py collectstatic --noinput && popd'",
|
|
|
|
"export": "yarn build && cp -r out/ ../../khoj/interface/built && yarn collectstatic",
|
|
|
|
"ciexport": "yarn build && cp -r out/ ../../khoj/interface/built && yarn cicollectstatic",
|
|
|
|
"watch": "nodemon --watch . --ext js,jsx,ts,tsx,css --ignore 'out/**/*' --exec 'yarn export'",
|
|
|
|
"windowswatch": "nodemon --watch . --ext js,jsx,ts,tsx,css --ignore 'out/**/*' --exec 'yarn windowsexport'",
|
|
|
|
"windowscollectstatic": "cd ..\\..\\.. && .\\.venv\\Scripts\\Activate.bat && py .\\src\\khoj\\manage.py collectstatic --noinput && .\\.venv\\Scripts\\deactivate.bat && cd ..",
|
2024-07-14 19:04:54 +00:00
|
|
|
"windowsexport": "yarn build && xcopy out ..\\..\\khoj\\interface\\built /E /Y && yarn windowscollectstatic",
|
|
|
|
"prepare": "husky"
|
2024-06-22 14:42:41 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-07-15 16:12:33 +00:00
|
|
|
"@hookform/resolvers": "^3.9.0",
|
2024-07-02 05:48:50 +00:00
|
|
|
"@phosphor-icons/react": "^2.1.7",
|
2024-06-27 13:15:38 +00:00
|
|
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
2024-07-02 05:48:50 +00:00
|
|
|
"@radix-ui/react-avatar": "^1.1.0",
|
2024-07-02 16:26:43 +00:00
|
|
|
"@radix-ui/react-collapsible": "^1.1.0",
|
2024-06-27 13:15:38 +00:00
|
|
|
"@radix-ui/react-dialog": "^1.1.1",
|
2024-07-02 05:48:50 +00:00
|
|
|
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
2024-06-27 13:15:38 +00:00
|
|
|
"@radix-ui/react-label": "^2.1.0",
|
2024-07-02 05:48:50 +00:00
|
|
|
"@radix-ui/react-menubar": "^1.1.1",
|
|
|
|
"@radix-ui/react-navigation-menu": "^1.2.0",
|
2024-07-02 16:26:43 +00:00
|
|
|
"@radix-ui/react-popover": "^1.1.1",
|
2024-07-07 10:12:29 +00:00
|
|
|
"@radix-ui/react-progress": "^1.1.0",
|
2024-07-02 05:48:50 +00:00
|
|
|
"@radix-ui/react-scroll-area": "^1.1.0",
|
2024-07-15 16:12:33 +00:00
|
|
|
"@radix-ui/react-select": "^2.1.1",
|
2024-06-27 13:15:38 +00:00
|
|
|
"@radix-ui/react-slot": "^1.1.0",
|
2024-07-15 16:12:33 +00:00
|
|
|
"@radix-ui/react-toast": "^1.2.1",
|
2024-07-04 12:59:21 +00:00
|
|
|
"@radix-ui/react-toggle": "^1.1.0",
|
2024-07-24 07:46:19 +00:00
|
|
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
|
|
"@radix-ui/themes": "^3.1.1",
|
2024-06-27 13:15:38 +00:00
|
|
|
"autoprefixer": "^10.4.19",
|
|
|
|
"class-variance-authority": "^0.7.0",
|
2024-07-24 07:46:19 +00:00
|
|
|
"clsx": "^2.1.1",
|
2024-07-07 10:12:29 +00:00
|
|
|
"cmdk": "^1.0.0",
|
2024-07-24 07:46:19 +00:00
|
|
|
"cronstrue": "^2.50.0",
|
2024-07-10 04:33:08 +00:00
|
|
|
"dompurify": "^3.1.6",
|
2024-07-16 04:40:55 +00:00
|
|
|
"eslint": "^8",
|
|
|
|
"eslint-config-next": "14.2.3",
|
2024-06-22 14:42:41 +00:00
|
|
|
"katex": "^0.16.10",
|
2024-06-27 13:15:38 +00:00
|
|
|
"lucide-react": "^0.397.0",
|
2024-06-22 14:42:41 +00:00
|
|
|
"markdown-it": "^14.1.0",
|
|
|
|
"markdown-it-highlightjs": "^4.1.0",
|
|
|
|
"next": "14.2.3",
|
2024-07-16 04:40:55 +00:00
|
|
|
"nodemon": "^3.1.3",
|
2024-06-27 13:15:38 +00:00
|
|
|
"postcss": "^8.4.38",
|
2024-06-22 14:42:41 +00:00
|
|
|
"react": "^18",
|
|
|
|
"react-dom": "^18",
|
2024-07-15 16:12:33 +00:00
|
|
|
"react-hook-form": "^7.52.1",
|
2024-06-27 13:15:38 +00:00
|
|
|
"shadcn-ui": "^0.8.0",
|
|
|
|
"swr": "^2.2.5",
|
2024-07-16 04:40:55 +00:00
|
|
|
"typescript": "^5",
|
2024-07-15 16:12:33 +00:00
|
|
|
"vaul": "^0.9.1",
|
|
|
|
"zod": "^3.23.8"
|
2024-06-22 14:42:41 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/node": "^20",
|
|
|
|
"eslint": "^8",
|
|
|
|
"eslint-config-next": "14.2.3",
|
2024-07-14 19:04:54 +00:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
|
|
"husky": "^9.0.11",
|
|
|
|
"lint-staged": "^15.2.7",
|
2024-06-22 14:42:41 +00:00
|
|
|
"nodemon": "^3.1.3",
|
2024-07-14 19:04:54 +00:00
|
|
|
"prettier": "3.3.3",
|
2024-07-24 07:46:19 +00:00
|
|
|
"tailwindcss-animate": "^1.0.7",
|
|
|
|
"tailwind-merge": "^2.3.0",
|
|
|
|
"tailwindcss": "^3.4.6",
|
|
|
|
"typescript": "^5",
|
|
|
|
"@types/dompurify": "^3.0.5",
|
|
|
|
"@types/katex": "^0.16.7",
|
|
|
|
"@types/markdown-it": "^14.1.1",
|
|
|
|
"@types/react": "^18",
|
|
|
|
"@types/react-dom": "^18"
|
2024-07-14 19:04:54 +00:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"tabWidth": 4
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*": "yarn lint --fix"
|
2024-06-22 14:42:41 +00:00
|
|
|
}
|
|
|
|
}
|