Files
HuLa/package.json
T
Dawn 9a342f7804 feat(mobile): add and improve mobile (#328)
* fix(common): 🐛 apply issue

* refactor(common): ♻️ refactor request by rust

* feat(mobile):  add navigation from home avatar to SimpleBio page

* refactor(common): ♻️ refactor request by rust --> initial completion

* refactor(common): ♻️ extract ImrequestUtils in frontend

* refactor(common): ♻️ refactor rust request

* refactor(common): ♻️ refactor ws; fix error

* fix(common): 🐛 getFriendPage invoke error

* refactor(common): ♻️ refactor all request to rust

* fix(common): 🐛 logout

* fix(common): 🐛 init msg list

* feat(mobile):  add real-time message push

* fix(common): 🐛 fix date formate in announcement

* fix(common): 🐛 fix getUserInfoBatch request bug; add emoji in log;

* fix(common): 🐛 handle 401 error;

* fix(common): 🐛 fix getBadgesBatch bug

* fix(common): 🐛 fix recall msg bug

* fix(common): 🐛 fix send video msg

* fix(common): 🐛 add token relation command

* feat(mobile):  add login and logout logic; implement route guards

* fix(mobile): 🐛 fix inability to listen to WebSocket messages

* fix(mobile): 🐛 fix mobile routing error

* feat(mobile):  add personal information display

* feat(mobile):  add avatar display to simplebio.vue page

* fix(mobile): 🐛 fix scrolling issue when keyboard is focused

* perf(ios):  compatible with some iOS styles

* perf(mobile):  horizontal screen prohibited

* build(build): 📦 update tauri version

* feat(mobile):  added 'Add Group Chat' page and 'Add Friend' page

* fix(mobile): 🐛 fix blank screen issue caused by routing

* fix(mobile): 🐛 fixed missing chat room name display issue

* build(tauri): 📦 update tauri v2.8.5

* chore(system): 🔨 merge branch 'master' into feat/mobile/ws-api

---------

Co-authored-by: wanwanruwoxin <254693270@qq.com>
Co-authored-by: 卡仔 <1271013637@qq.com>
2025-09-02 21:59:13 +08:00

171 lines
6.1 KiB
JSON
Vendored

{
"$schema": "https://json.schemastore.org/jsconfig",
"name": "hula",
"type": "module",
"version": "2.6.13",
"license": "Apache-2.0",
"engines": {
"node": "^20.19.0 || >=22.12.0",
"pnpm": ">=10.x"
},
"repository": {
"url": "https://github.com/HuLaSpark/HuLa.git"
},
"author": {
"name": "HuLaSpark团队",
"email": "2439646234@qq.com",
"url": "https://github.com/HuLaSpark"
},
"scripts": {
"========= 启动vue(tauri项目会连带执行不需要单独执行) =========": "",
"dev": "vite",
"========= 打包vue(tauri项目会连带执行不需要单独执行) =========": "",
"build": "vue-tsc --noEmit && vite build",
"========= 启动HuLa桌面应用程序 =========": "",
"tauri:dev": "tauri dev",
"td": "tauri dev",
"========= 打包桌面应用程序 =========": "",
"tauri:build": "node scripts/interactive-build-inquirer.js",
"========= 启动HuLa ios 程序 =========": "",
"tauri:ios:dev": "tauri ios dev",
"========= 启动HuLa android 程序 =========": "",
"tauri:android:dev": "tauri android dev",
"========= 启动安卓程序 =========": "",
"adev": "tauri android dev",
"========= 初始化 ios =========": "",
"tauri:ios:init": "tauri ios init",
"========= 初始化 android =========": "",
"tauri:android:init": "tauri android init",
"========= 生成icon =========": "",
"tauri:icon": "tauri icon public/light.png",
"========= 安装依赖前执行 =========": "",
"preinstall": "npx only-allow pnpm && node scripts/check-all.js",
"========= 使用commit来进行代码提交 =========": "",
"commit": "git add . && git-cz",
"========= 只检查代码问题和格式(不修复) =========": "",
"check": "biome check",
"========= 修复代码问题和格式并且检查 =========": "",
"check:write": "biome check --write --unsafe",
"========= 格式化Vue文件模板 =========": "",
"format:vue": "npx prettier --write \"src/**/*.vue\"",
"========= 完整格式化(JS+Vue) =========": "",
"format:all": "pnpm check:write && pnpm format:vue",
"========= Git提交前的代码检查(简化命令) =========": "",
"lint:s": "lint-staged && vue-tsc --noEmit",
"========= Git提交前的代码检查 =========": "",
"lint:staged": "lint-staged && vue-tsc --noEmit",
"========= 安装husky =========": "",
"prepare": "husky",
"========= 发版 =========": "",
"release": "release-it",
"========= commit后再次添加修改到上一次的commit =========": "",
"addition-commit": "git add . && git commit --amend --no-edit",
"========= 单元测试 =========": "",
"test:run": "vitest run",
"========= 使用 vitest UI =========": "",
"test:ui": "vitest --ui --coverage.enabled=true",
"========= 测试覆盖率 =========": "",
"coverage": "vitest run --coverage",
"========= 单独提交 =========": "",
"gitcz": "git-cz"
},
"dependencies": {
"@actions/github": "^6.0.1",
"@breezystack/lamejs": "^1.2.7",
"@fingerprintjs/fingerprintjs": "^4.6.2",
"@tanstack/vue-virtual": "^3.13.12",
"@tauri-apps/api": "2.8.0",
"@tauri-apps/plugin-autostart": "2.5.0",
"@tauri-apps/plugin-barcode-scanner": "^2.4.0",
"@tauri-apps/plugin-clipboard-manager": "2.3.0",
"@tauri-apps/plugin-dialog": "^2.3.2",
"@tauri-apps/plugin-fs": "^2.4.1",
"@tauri-apps/plugin-global-shortcut": "^2.3.0",
"@tauri-apps/plugin-http": "2.5.1",
"@tauri-apps/plugin-log": "^2.6.0",
"@tauri-apps/plugin-notification": "^2.3.0",
"@tauri-apps/plugin-opener": "^2.4.0",
"@tauri-apps/plugin-os": "2.3.0",
"@tauri-apps/plugin-process": "2.3.0",
"@tauri-apps/plugin-shell": "^2.3.0",
"@tauri-apps/plugin-sql": "^2.3.0",
"@tauri-apps/plugin-updater": "2.9.0",
"@vue-office/docx": "^1.6.3",
"@vue-office/excel": "^1.7.14",
"@vue-office/pdf": "^2.0.10",
"@vue-office/pptx": "^1.0.1",
"colorthief": "^2.6.0",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.11",
"digest-wasm": "^0.1.4",
"dompurify": "^3.2.6",
"file-type": "^21.0.0",
"grapheme-splitter": "^1.0.4",
"hula-emojis": "^1.2.26",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
"naive-ui": "^2.42.0",
"pinia": "^3.0.3",
"pinia-plugin-persistedstate": "^4.5.0",
"pinia-shared-state": "^1.0.1",
"seemly": "^0.3.10",
"tauri-plugin-mic-recorder-api": "^2.0.0",
"tauri-plugin-safe-area-insets": "^0.1.0",
"vue": "^3.5.18",
"vue-cropper": "1.1.4",
"vue-demi": "0.14.6",
"vue-router": "^4.5.1",
"vue-virtual-scroller": "2.0.0-beta.8"
},
"devDependencies": {
"@biomejs/biome": "^2.2.0",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@iconify/vue": "^5.0.0",
"@inquirer/prompts": "^7.8.3",
"@release-it/bumper": "^6.0.1",
"@release-it/conventional-changelog": "8.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@tauri-apps/cli": "2.8.4",
"@types/crypto-js": "^4.2.2",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.3.0",
"@unocss/preset-wind3": "^66.4.2",
"@unocss/reset": "^66.4.2",
"@unocss/transformer-directives": "^66.4.2",
"@unocss/transformer-variant-group": "^66.4.2",
"@unocss/vite": "^66.4.2",
"@vitejs/plugin-vue": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^5.0.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^13.7.0",
"chalk": "^5.6.0",
"commitizen": "^4.3.1",
"cz-git": "^1.12.0",
"happy-dom": "^15.11.7",
"husky": "^9.1.7",
"lint-staged": "^15.2.7",
"postcss-pxtorem": "^6.1.0",
"prettier": "^3.6.2",
"release-it": "^17.11.0",
"sass": "1.90.0",
"typescript": "^5.9.2",
"unplugin-auto-import": "^20.0.0",
"unplugin-vue-components": "^29.0.0",
"vite": "7.1.2",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vitest": "^3.2.4",
"vue-tsc": "^3.0.5"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"pnpm": {
"ignoredBuiltDependencies": ["esbuild", "vue-demi", "@parcel/watcher", "sharp"]
}
}