The `format` script has been added to the `package.json` file in the `frontend` directory. This script uses `prettier` to format all files with the extensions `.js`, `.jsx`, `.ts`, `.tsx`, `.json`, and `.md` in the `src` directory. This ensures that the codebase is consistent and follows a standard formatting style.
81 lines
No EOL
2.4 KiB
JSON
81 lines
No EOL
2.4 KiB
JSON
{
|
|
"name": "langflow",
|
|
"version": "0.1.2",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@emotion/react": "^11.10.5",
|
|
"@emotion/styled": "^11.10.5",
|
|
"@headlessui/react": "^1.7.10",
|
|
"@heroicons/react": "^2.0.15",
|
|
"@mui/material": "^5.11.9",
|
|
"@tabler/icons-react": "^2.18.0",
|
|
"@tailwindcss/forms": "^0.5.3",
|
|
"@tailwindcss/line-clamp": "^0.4.4",
|
|
"ace-builds": "^1.16.0",
|
|
"ansi-to-html": "^0.7.2",
|
|
"axios": "^1.3.2",
|
|
"base64-js": "^1.5.1",
|
|
"lodash": "^4.17.21",
|
|
"react": "^18.2.0",
|
|
"react-ace": "^10.1.0",
|
|
"react-cookie": "^4.1.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-error-boundary": "^4.0.2",
|
|
"react-icons": "^4.8.0",
|
|
"react-laag": "^2.0.5",
|
|
"react-markdown": "^8.0.7",
|
|
"react-router-dom": "^6.8.1",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"react-tabs": "^6.0.0",
|
|
"reactflow": "^11.5.5",
|
|
"rehype-mathjax": "^4.0.2",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-math": "^5.1.1",
|
|
"uuid": "^9.0.0",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"scripts": {
|
|
"dev:docker": "vite --host 0.0.0.0",
|
|
"start": "vite",
|
|
"build": "vite build",
|
|
"serve": "vite preview",
|
|
"format": "npx prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md}\""
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"proxy": "http://127.0.0.1:7860",
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.9",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/lodash": "^4.14.194",
|
|
"@types/node": "^16.18.12",
|
|
"@types/react": "^18.0.28",
|
|
"@types/react-dom": "^18.0.11",
|
|
"@types/uuid": "^9.0.1",
|
|
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
"autoprefixer": "^10.4.14",
|
|
"postcss": "^8.4.23",
|
|
"tailwindcss": "^3.3.2",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.3.5"
|
|
}
|
|
} |