返回 AiToEarn
package.json
根目录 / project / aitoearn-web / package.json
1 {
2 "name": "aitoearn-web",
3 "version": "0.1.0",
4 "private": true,
5 "scripts": {
6 "dev": "next dev -p 6061",
7 "dev:local": "cross-env NEXT_PUBLIC_API_URL=http://localhost:7001/api next dev",
8 "build": "next build",
9 "type-check": "tsc --noEmit",
10 "test": "playwright test",
11 "test:ui": "playwright test --ui",
12 "test:headed": "playwright test --headed",
13 "test:debug": "playwright test --debug",
14 "test:home": "playwright test tests/e2e/home/",
15 "test:prompts": "playwright test tests/e2e/home/chat-input.spec.ts",
16 "test:auth": "playwright test tests/e2e/auth/",
17 "test:navigation": "playwright test tests/e2e/navigation/",
18 "test:responsive": "playwright test tests/e2e/responsive/",
19 "test:agent": "playwright test tests/e2e/home/agent-chat.spec.ts --headed --project=chromium",
20 "test:agent:quick": "playwright test tests/e2e/home/agent-chat.spec.ts -g \"快速单提示词测试\" --headed --project=chromium",
21 "test:agent:video": "cross-env PROMPT_TYPE=video playwright test tests/e2e/home/agent-chat.spec.ts -g \"执行多提示词对话测试\" --headed --project=chromium",
22 "test:agent:image": "cross-env PROMPT_TYPE=image playwright test tests/e2e/home/agent-chat.spec.ts -g \"执行多提示词对话测试\" --headed --project=chromium",
23 "test:agent:publish": "cross-env PROMPT_TYPE=publish playwright test tests/e2e/home/agent-chat.spec.ts -g \"执行多提示词对话测试\" --headed --project=chromium",
24 "test:report": "playwright show-report",
25 "test:install": "playwright install",
26 "build:copy": "tsc --noEmit && next build && npm run copy-static",
27 "copy-static": "xcopy public .next\\standalone\\public /E /I /Y && if exist .next\\static xcopy .next\\static .next\\standalone\\.next\\static /E /I /Y",
28 "start": "next start",
29 "lint": "eslint ./src",
30 "lint:fix": "eslint ./src --fix",
31 "format": "prettier --write .",
32 "format:check": "prettier --check .",
33 "i18next-resources-for-ts": "i18next-resources-for-ts interface -i ./src/app/i18n/locales/zh-CN -o ./@types/resources.d.ts"
34 },
35 "dependencies": {
36 "@annotorious/react": "^3.8.2",
37 "@ant-design/colors": "^7.2.1",
38 "@ant-design/icons": "^6.0.0",
39 "@ant-design/nextjs-registry": "^1.0.2",
40 "@egjs/react-infinitegrid": "^4.12.0",
41 "@fullcalendar/core": "^6.1.17",
42 "@fullcalendar/daygrid": "^6.1.17",
43 "@fullcalendar/react": "^6.1.17",
44 "@hello-pangea/dnd": "^16.6.0",
45 "@hookform/resolvers": "^5.2.2",
46 "@kwooshung/react-no-ssr": "^1.1.4",
47 "@lexical/html": "0.37.0",
48 "@lexical/link": "0.37.0",
49 "@lexical/list": "0.37.0",
50 "@lexical/react": "^0.37.0",
51 "@lexical/rich-text": "0.37.0",
52 "@microsoft/fetch-event-source": "^2.0.1",
53 "@radix-ui/react-alert-dialog": "^1.1.15",
54 "@radix-ui/react-avatar": "^1.1.11",
55 "@radix-ui/react-checkbox": "^1.3.3",
56 "@radix-ui/react-collapsible": "^1.1.12",
57 "@radix-ui/react-dialog": "^1.1.15",
58 "@radix-ui/react-dropdown-menu": "^2.1.16",
59 "@radix-ui/react-hover-card": "^1.1.15",
60 "@radix-ui/react-label": "^2.1.8",
61 "@radix-ui/react-popover": "^1.1.15",
62 "@radix-ui/react-progress": "^1.1.8",
63 "@radix-ui/react-radio-group": "^1.3.8",
64 "@radix-ui/react-scroll-area": "^1.2.10",
65 "@radix-ui/react-select": "^2.2.6",
66 "@radix-ui/react-slider": "^1.3.6",
67 "@radix-ui/react-slot": "^1.2.4",
68 "@radix-ui/react-switch": "^1.2.6",
69 "@radix-ui/react-tabs": "^1.1.13",
70 "@radix-ui/react-tooltip": "^1.2.8",
71 "@radix-ui/react-visually-hidden": "^1.2.4",
72 "@react-oauth/google": "^0.12.2",
73 "@svgr/webpack": "^6.5.1",
74 "@szhsin/react-menu": "^4.4.1",
75 "@tanstack/react-virtual": "^3.13.18",
76 "@tiptap/extension-image": "^3.22.3",
77 "@tiptap/extension-link": "^3.22.3",
78 "@tiptap/extension-placeholder": "^3.22.3",
79 "@tiptap/extension-underline": "^3.22.3",
80 "@tiptap/pm": "^3.22.3",
81 "@tiptap/react": "^3.22.3",
82 "@tiptap/starter-kit": "^3.22.3",
83 "@types/qrcode": "^1.5.6",
84 "accept-language": "3.0.20",
85 "antd": "^5.25.2",
86 "axios": "^1.9.0",
87 "blueimp-md5": "^2.19.0",
88 "browser-image-compression": "^2.0.2",
89 "chinese-days": "1.5.7",
90 "class-variance-authority": "^0.7.1",
91 "clsx": "^2.1.1",
92 "cmdk": "^1.1.1",
93 "cookies-next": "^4.3.0",
94 "country-state-city": "^3.2.1",
95 "cropperjs": "^1.6.2",
96 "crypto-js": "^4.2.0",
97 "dayjs": "^1.11.13",
98 "driver.js": "^1.4.0",
99 "echarts": "^6.0.0",
100 "embla-carousel-autoplay": "^8.6.0",
101 "embla-carousel-react": "^8.6.0",
102 "file-saver": "^2.0.5",
103 "framer-motion": "^12.23.26",
104 "glob": "^11.0.3",
105 "html2canvas-pro": "^1.4.3",
106 "i18next": "24.2.3",
107 "i18next-browser-languagedetector": "8.0.4",
108 "i18next-resources-to-backend": "1.2.1",
109 "idb-keyval": "^6.2.2",
110 "jszip": "^3.10.1",
111 "lexical": "^0.37.0",
112 "lexical-beautiful-mentions": "^0.1.48",
113 "lodash": "^4.17.21",
114 "lottie-react": "^2.4.1",
115 "lucide-react": "^0.561.0",
116 "next": "14.2.29",
117 "next-themes": "^0.4.6",
118 "openseadragon": "^6.0.2",
119 "qrcode": "^1.5.4",
120 "qs": "^6.14.0",
121 "react": "^18",
122 "react-dnd": "^16.0.1",
123 "react-dnd-html5-backend": "^16.0.1",
124 "react-dom": "^18",
125 "react-easy-crop": "^5.5.6",
126 "react-hook-form": "^7.68.0",
127 "react-i18next": "15.4.1",
128 "react-icons": "^5.5.0",
129 "react-infinite-scroll-component": "^6.1.0",
130 "react-markdown": "^10.1.0",
131 "react-masonry-css": "^1.0.16",
132 "react-number-format": "^5.4.4",
133 "react-qrcode-logo": "^4.0.0",
134 "react-sortablejs": "^6.1.4",
135 "react-transition-group": "^4.4.5",
136 "react-use": "^17.6.0",
137 "react-zoom-pan-pinch": "^4.0.3",
138 "rehype-raw": "^7.0.0",
139 "remark-gfm": "^4.0.1",
140 "sass": "^1.59.2",
141 "sharp": "^0.34.4",
142 "sonner": "^2.0.7",
143 "sortablejs": "^1.15.6",
144 "swiper": "^11.2.8",
145 "tailwind-merge": "^3.4.0",
146 "zod": "^3.25.76",
147 "zustand": "^5.0.5"
148 },
149 "devDependencies": {
150 "@antfu/eslint-config": "^6.2.0",
151 "@csstools/postcss-cascade-layers": "^6.0.0",
152 "@csstools/postcss-color-mix-function": "^4.0.4",
153 "@csstools/postcss-oklab-function": "^5.0.4",
154 "@eslint/eslintrc": "^3",
155 "@hello-pangea/dnd": "^16.6.0",
156 "@next/eslint-plugin-next": "^15.5.3",
157 "@playwright/test": "^1.57.0",
158 "@tailwindcss/postcss": "^4.1.18",
159 "@types/blueimp-md5": "^2.18.2",
160 "@types/crypto-js": "^4.2.2",
161 "@types/file-saver": "^2.0.7",
162 "@types/lodash": "^4.17.17",
163 "@types/node": "^20",
164 "@types/qs": "^6.14.0",
165 "@types/react": "^18",
166 "@types/react-dom": "^18",
167 "@types/react-transition-group": "^4.4.12",
168 "autoprefixer": "^10.4.23",
169 "dotenv": "^17.2.3",
170 "eslint": "^9.39.1",
171 "eslint-plugin-format": "^1.0.2",
172 "eslint-plugin-react": "^7.37.4",
173 "eslint-plugin-react-hooks": "^7.0.1",
174 "estraverse": "^5.3.0",
175 "file-loader": "^6.2.0",
176 "i18next-resources-for-ts": "1.5.0",
177 "lint-staged": "^16.2.7",
178 "postcss": "^8.5.6",
179 "prettier": "^3.8.1",
180 "tailwindcss": "^4.1.18",
181 "tailwindcss-animate": "^1.0.7",
182 "typescript": "^5.9.3"
183 },
184 "lint-staged": {
185 "*.{js,jsx,ts,tsx}": [
186 "eslint --fix"
187 ],
188 "*.{json,css,scss,md}": [
189 "prettier --write"
190 ]
191 }
192 }
193
193 lines JSON