main
json 151 lines 4.94 KB
Raw
1 {
2 "name": "copilot",
3 "type": "module",
4 "version": "1.0.0",
5 "private": true,
6 "packageManager": "pnpm@11.5.0+sha512.dbfcc4f81cf48597afd4bc391ffdf12c11f1a9fb83a395bfa6b0a2d9cc2fd8ffebafdb1ccbd529632153f793904c2615b7f09fe1a345473fd1c35845172a8eb1",
7 "engines": {
8 "node": ">=24.0.0"
9 },
10 "scripts": {
11 "dev": "vite --host 0.0.0.0",
12 "dev:debug": "DEBUG=vite:* vite",
13 "build": "run-p type-check \"build:only {@}\" --",
14 "build:only": "vite build",
15 "build:docker": "docker build .",
16 "build:analyzer": "vite-bundle-visualizer -t sunburst",
17 "build:check": "run-s libs:reload build lint type-check format test:unit build:docker",
18 "preview": "vite build && echo '' && vite preview --port 4173 --host",
19 "preview:only": "vite preview --port 4173 --host",
20 "test:unit": "vitest run",
21 "dup-check": "jscpd --ignore \"**/node_modules/**,**/dist/**,**/.nuxt/**,**/*.svg\" --min-tokens 100 --reporters console,html,json .",
22 "type-check": "vue-tsc --build --force tsconfig.app.json",
23 "lint": "eslint . --fix",
24 "format": "prettier --write src/",
25 "lint-type-format": "run-s lint type-check format",
26 "design-tokens": "node scripts/tokens-tool.js",
27 "start-server:old": "cd ../backend && uvicorn copilot:app --reload --port=5000",
28 "start-server:venv": "cd ../backend && source .venv/bin/activate && uvicorn copilot:app --port=5000 --log-level debug",
29 "start-server": "cd ../backend && /opt/venv/bin/python copilot.py",
30 "start-frontend": "vite --host 0.0.0.0",
31 "start": "concurrently \"pnpm start-server\" \"pnpm start-frontend\"",
32 "libs:check": "taze && depcheck",
33 "libs:reload": "rm -rf node_modules pnpm-lock.yaml && pnpm install",
34 "open:swagger": "open http://127.0.0.1:5000/docs#/",
35 "open:redoc": "open http://127.0.0.1:5000/redoc"
36 },
37 "dependencies": {
38 "@ajoelp/json-to-formdata": "^1.5.0",
39 "@codemirror/commands": "^6.10.3",
40 "@codemirror/lang-javascript": "^6.2.5",
41 "@codemirror/lang-xml": "^6.1.0",
42 "@codemirror/lint": "^6.9.6",
43 "@codemirror/state": "^6.6.0",
44 "@codemirror/theme-one-dark": "^6.1.3",
45 "@codemirror/view": "^6.43.0",
46 "@f3ve/vue-markdown-it": "^0.2.3",
47 "@fontsource/jetbrains-mono": "^5.2.8",
48 "@fontsource/lexend": "^5.2.11",
49 "@fontsource/public-sans": "^5.2.7",
50 "@microsoft/fetch-event-source": "^2.0.1",
51 "@mui/material": "^9.0.1",
52 "@shikijs/markdown-it": "^4.1.0",
53 "@shuffleio/shuffle-mcps": "^0.0.32",
54 "@types/codemirror": "^5.60.17",
55 "@vueuse/core": "^14.3.0",
56 "@vueuse/motion": "^3.0.3",
57 "algoliasearch": "^5.53.0",
58 "axios": "^1.16.1",
59 "bytes": "^3.1.2",
60 "codemirror": "~6.0.2",
61 "colord": "^2.9.3",
62 "dayjs": "^1.11.21",
63 "detect-touch-device": "^1.1.6",
64 "echarts": "^6.1.0",
65 "fast-xml-parser": "^5.8.0",
66 "file-saver": "^2.0.5",
67 "html-entities": "^2.6.0",
68 "jose": "^6.2.3",
69 "js-md5": "^0.8.3",
70 "lodash": "^4.18.1",
71 "mitt": "^3.0.1",
72 "naive-ui": "^2.44.1",
73 "nanoid": "^5.1.11",
74 "papaparse": "^5.5.3",
75 "password-validator": "^5.3.0",
76 "pinia": "^3.0.4",
77 "pinia-plugin-persistedstate": "^4.7.1",
78 "react": "^19.2.7",
79 "react-dom": "^19.2.7",
80 "react-router-dom": "^7.16.0",
81 "react18-json-view": "^0.2.10",
82 "remark-breaks": "^4.0.0",
83 "rolldown": "1.0.1",
84 "secure-ls": "^2.0.0",
85 "shiki": "^4.1.0",
86 "thememirror": "^2.0.1",
87 "validator": "^13.15.35",
88 "vue": "^3.5.35",
89 "vue-advanced-cropper": "^2.8.9",
90 "vue-codemirror": "^6.1.1",
91 "vue-echarts": "^8.0.1",
92 "vue-highlight-words": "^3.0.1",
93 "vue-i18n": "^11.4.4",
94 "vue-router": "^5.1.0",
95 "vue-sjv": "^0.0.6",
96 "vue3-marquee": "^4.2.2",
97 "vuedraggable": "^4.1.0",
98 "xmllint": "^0.1.1",
99 "xmllint-wasm": "^5.2.0"
100 },
101 "optionalDependencies": {
102 "@rollup/rollup-linux-x64-gnu": "^4.46.2",
103 "treemate": "^0.3.11",
104 "vueuc": "^0.4.64"
105 },
106 "devDependencies": {
107 "@antfu/eslint-config": "~9.0.0",
108 "@clack/prompts": "^1.5.0",
109 "@iconify/vue": "^5.0.1",
110 "@tailwindcss/vite": "^4.3.0",
111 "@tsconfig/node20": "^20.1.9",
112 "@types/bytes": "^3.1.5",
113 "@types/file-saver": "^2.0.7",
114 "@types/fs-extra": "^11.0.4",
115 "@types/jsdom": "^28.0.3",
116 "@types/lodash": "^4.17.24",
117 "@types/markdown-it": "^14.1.2",
118 "@types/node": "^25.9.1",
119 "@types/papaparse": "^5.5.2",
120 "@types/react": "^19.2.16",
121 "@types/react-dom": "^19.2.3",
122 "@types/validator": "^13.15.10",
123 "@vitejs/plugin-vue": "^6.0.7",
124 "@vitejs/plugin-vue-jsx": "^5.1.5",
125 "@vue/test-utils": "^2.4.10",
126 "@vue/tsconfig": "~0.9.1",
127 "baseline-browser-mapping": "^2.10.33",
128 "depcheck": "^1.4.7",
129 "eslint": "~10.4.1",
130 "flourite": "^1.3.0",
131 "fs-extra": "^11.3.5",
132 "jscpd": "^4.2.4",
133 "jsdom": "^29.1.1",
134 "npm-run-all2": "^9.0.1",
135 "prettier": "^3.8.3",
136 "prettier-plugin-tailwindcss": "^0.8.0",
137 "sass": "^1.100.0",
138 "start-server-and-test": "^3.0.5",
139 "tailwindcss": "^4.3.0",
140 "taze": "^19.14.1",
141 "type-fest": "^5.7.0",
142 "typescript": "~6.0.3",
143 "vite": "^8.0.16",
144 "vite-bundle-visualizer": "^1.2.1",
145 "vite-plugin-inspect": "^11.4.1",
146 "vite-plugin-vue-devtools": "^8.1.2",
147 "vite-svg-loader": "^5.1.1",
148 "vitest": "^4.1.8",
149 "vue-tsc": "^3.3.3"
150 }
151 }