2023-05-15 08:51:32 +08:00
|
|
|
{
|
|
|
|
"name": "dify-web",
|
2024-01-24 12:57:05 +08:00
|
|
|
"version": "0.5.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"dev": "next dev",
|
|
|
|
"build": "next build",
|
2023-10-19 11:38:03 +08:00
|
|
|
"start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
|
2023-05-15 08:51:32 +08:00
|
|
|
"lint": "next lint",
|
2023-05-29 17:49:01 +08:00
|
|
|
"fix": "next lint --fix",
|
|
|
|
"eslint-fix": "eslint --fix",
|
2023-08-03 13:20:52 +08:00
|
|
|
"prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install ./web/.husky",
|
2023-07-12 17:27:50 +08:00
|
|
|
"gen-icons": "node ./app/components/base/icons/script.js",
|
|
|
|
"uglify-embed": "node ./bin/uglify-embed"
|
2023-05-15 08:51:32 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-06-06 10:29:38 +08:00
|
|
|
"@babel/runtime": "^7.22.3",
|
2023-05-19 17:36:44 +08:00
|
|
|
"@emoji-mart/data": "^1.1.2",
|
2023-08-31 17:46:51 +08:00
|
|
|
"@floating-ui/react": "^0.25.2",
|
2023-05-15 08:51:32 +08:00
|
|
|
"@formatjs/intl-localematcher": "^0.2.32",
|
|
|
|
"@headlessui/react": "^1.7.13",
|
|
|
|
"@heroicons/react": "^2.0.16",
|
2023-10-12 23:14:28 +08:00
|
|
|
"@lexical/react": "^0.12.2",
|
2023-05-15 08:51:32 +08:00
|
|
|
"@mdx-js/loader": "^2.3.0",
|
|
|
|
"@mdx-js/react": "^2.3.0",
|
2024-01-09 13:46:02 +08:00
|
|
|
"@next/mdx": "^14.0.4",
|
2023-06-13 16:04:54 +08:00
|
|
|
"@sentry/react": "^7.54.0",
|
2023-06-06 10:29:38 +08:00
|
|
|
"@sentry/utils": "^7.54.0",
|
2023-08-03 13:20:52 +08:00
|
|
|
"@tailwindcss/line-clamp": "^0.4.4",
|
|
|
|
"@tailwindcss/typography": "^0.5.9",
|
2023-05-15 08:51:32 +08:00
|
|
|
"ahooks": "^3.7.5",
|
|
|
|
"classnames": "^2.3.2",
|
|
|
|
"copy-to-clipboard": "^3.3.3",
|
2023-11-01 11:24:33 +08:00
|
|
|
"crypto-js": "^4.2.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"dayjs": "^1.11.7",
|
|
|
|
"echarts": "^5.4.1",
|
|
|
|
"echarts-for-react": "^3.0.2",
|
2023-05-19 17:36:44 +08:00
|
|
|
"emoji-mart": "^5.5.2",
|
2023-05-15 08:51:32 +08:00
|
|
|
"i18next": "^22.4.13",
|
|
|
|
"i18next-resources-to-backend": "^1.1.3",
|
|
|
|
"immer": "^9.0.19",
|
2023-07-07 17:50:42 +08:00
|
|
|
"js-audio-recorder": "^1.0.7",
|
2023-05-15 08:51:32 +08:00
|
|
|
"js-cookie": "^3.0.1",
|
2023-06-05 09:55:03 +08:00
|
|
|
"katex": "^0.16.7",
|
2024-01-22 14:52:39 +08:00
|
|
|
"lamejs": "^1.2.1",
|
2023-10-12 23:14:28 +08:00
|
|
|
"lexical": "^0.12.2",
|
2023-05-15 08:51:32 +08:00
|
|
|
"lodash-es": "^4.17.21",
|
2023-09-14 14:09:23 +08:00
|
|
|
"mermaid": "10.4.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"negotiator": "^0.6.3",
|
2024-01-09 13:46:02 +08:00
|
|
|
"next": "^14.0.4",
|
2023-10-08 09:34:49 +08:00
|
|
|
"qrcode.react": "^3.1.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"qs": "^6.11.1",
|
2023-11-13 22:32:39 +08:00
|
|
|
"rc-textarea": "^1.5.2",
|
2023-06-27 12:12:41 +08:00
|
|
|
"react": "^18.2.0",
|
2023-08-18 17:18:58 +08:00
|
|
|
"react-18-input-autosize": "^3.0.0",
|
2023-06-27 12:12:41 +08:00
|
|
|
"react-dom": "^18.2.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"react-error-boundary": "^4.0.2",
|
|
|
|
"react-headless-pagination": "^1.1.4",
|
|
|
|
"react-i18next": "^12.2.0",
|
|
|
|
"react-infinite-scroll-component": "^6.1.0",
|
|
|
|
"react-markdown": "^8.0.6",
|
2023-08-31 01:18:31 +08:00
|
|
|
"react-multi-email": "^1.0.14",
|
2023-07-07 10:35:05 +08:00
|
|
|
"react-papaparse": "^4.1.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"react-slider": "^2.0.4",
|
2023-06-15 17:07:17 +08:00
|
|
|
"react-sortablejs": "^6.1.4",
|
2023-05-15 08:51:32 +08:00
|
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
|
|
"react-tooltip": "5.8.3",
|
|
|
|
"react-window": "^1.8.9",
|
|
|
|
"react-window-infinite-loader": "^1.0.9",
|
2023-07-07 17:50:42 +08:00
|
|
|
"recordrtc": "^5.6.2",
|
2023-05-15 08:51:32 +08:00
|
|
|
"rehype-katex": "^6.0.2",
|
|
|
|
"remark-breaks": "^3.0.2",
|
|
|
|
"remark-gfm": "^3.0.1",
|
|
|
|
"remark-math": "^5.1.1",
|
|
|
|
"scheduler": "^0.23.0",
|
|
|
|
"server-only": "^0.0.1",
|
2024-01-16 17:25:18 +08:00
|
|
|
"sharp": "^0.33.2",
|
2023-06-15 17:07:17 +08:00
|
|
|
"sortablejs": "^1.15.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"swr": "^2.1.0",
|
2023-08-03 10:49:25 +08:00
|
|
|
"use-context-selector": "^1.4.1"
|
2023-05-15 08:51:32 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@antfu/eslint-config": "^0.36.0",
|
|
|
|
"@faker-js/faker": "^7.6.0",
|
2023-06-26 15:36:52 +08:00
|
|
|
"@rgrove/parse-xml": "^4.1.0",
|
2023-08-03 10:49:25 +08:00
|
|
|
"@types/crypto-js": "^4.1.1",
|
2023-05-15 08:51:32 +08:00
|
|
|
"@types/js-cookie": "^3.0.3",
|
2023-08-03 10:49:25 +08:00
|
|
|
"@types/lodash-es": "^4.17.7",
|
2023-05-15 08:51:32 +08:00
|
|
|
"@types/negotiator": "^0.6.1",
|
2023-08-18 17:18:58 +08:00
|
|
|
"@types/node": "18.15.0",
|
2023-05-15 08:51:32 +08:00
|
|
|
"@types/qs": "^6.9.7",
|
2023-08-03 10:49:25 +08:00
|
|
|
"@types/react": "18.0.28",
|
|
|
|
"@types/react-dom": "18.0.11",
|
|
|
|
"@types/react-slider": "^1.3.1",
|
|
|
|
"@types/react-syntax-highlighter": "^15.5.6",
|
|
|
|
"@types/react-window": "^1.8.5",
|
|
|
|
"@types/react-window-infinite-loader": "^1.0.6",
|
2023-07-07 17:50:42 +08:00
|
|
|
"@types/recordrtc": "^5.6.11",
|
2023-06-15 17:07:17 +08:00
|
|
|
"@types/sortablejs": "^1.15.1",
|
2023-10-19 11:38:03 +08:00
|
|
|
"autoprefixer": "^10.4.14",
|
|
|
|
"cross-env": "^7.0.3",
|
2023-12-14 09:55:30 +08:00
|
|
|
"eslint": "^8.36.0",
|
2024-01-09 13:46:02 +08:00
|
|
|
"eslint-config-next": "^14.0.4",
|
2023-08-03 13:20:52 +08:00
|
|
|
"husky": "^8.0.3",
|
2023-05-29 17:49:01 +08:00
|
|
|
"lint-staged": "^13.2.2",
|
2023-05-15 08:51:32 +08:00
|
|
|
"miragejs": "^0.1.47",
|
2023-11-01 11:24:43 +08:00
|
|
|
"postcss": "^8.4.31",
|
2023-08-03 10:49:25 +08:00
|
|
|
"sass": "^1.61.0",
|
2023-09-19 13:31:48 +08:00
|
|
|
"tailwindcss": "^3.3.3",
|
|
|
|
"typescript": "4.9.5",
|
2023-10-19 11:38:03 +08:00
|
|
|
"uglify-js": "^3.17.4"
|
2023-05-29 17:49:01 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"**/*.js?(x)": [
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
|
|
|
"**/*.ts?(x)": [
|
|
|
|
"eslint --fix"
|
|
|
|
]
|
2024-01-09 18:15:04 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=18.17.0"
|
2023-05-15 08:51:32 +08:00
|
|
|
}
|
2024-01-24 12:57:05 +08:00
|
|
|
}
|