From 44dd9c4eb8a2489c63a5eb53fd4254bbb3510e95 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 18 Jun 2026 09:14:57 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.4'

---
 package.json |   34 +++++++++++++++++++++++++++-------
 1 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/package.json b/package.json
index 6879d02..97808fb 100644
--- a/package.json
+++ b/package.json
@@ -54,7 +54,6 @@
     "stylelint": "stylelint \"src/**/*.{vue,scss,css,sass,less}\"",
     "stylelint:fix": "stylelint \"src/**/*.{vue,scss,css,sass,less}\" --fix",
     "cz": "git add . && npx czg",
-    "postinstall": "simple-git-hooks",
     "clean": "npx rimraf node_modules",
     "clean:cache": "npx rimraf node_modules/.cache"
   },
@@ -77,6 +76,7 @@
     "@dcloudio/uni-quickapp-webview": "3.0.0-4070520250711001",
     "@dcloudio/uni-ui": "^1.5.11",
     "dayjs": "^1.11.18",
+    "js-audio-recorder": "^1.0.7",
     "js-base64": "^3.7.4",
     "js-md5": "^0.7.3",
     "leaflet": "^1.9.4",
@@ -110,7 +110,6 @@
     "rollup-plugin-visualizer": "^6.0.3",
     "sass": "1.79.6",
     "sass-loader": "^16.0.4",
-    "simple-git-hooks": "^2.13.1",
     "stylelint": "^16.23.0",
     "stylelint-config-recess-order": "^6.1.0",
     "stylelint-config-standard": "^39.0.0",
@@ -130,10 +129,6 @@
       "vue": "3.4.21"
     }
   },
-  "simple-git-hooks": {
-    "pre-commit": "npx lint-staged",
-    "commit-msg": "node ./scripts/verify-commit.js"
-  },
   "lint-staged": {
     "src/**/*.{js,jsx}": "eslint --fix",
     "*.{scss,css,style,html}": "stylelint --fix",
@@ -141,5 +136,30 @@
       "eslint --fix",
       "stylelint --fix"
     ]
+  },
+  "uni-app": {
+    "scripts": {
+      "h5-dev": {
+        "title": "H5 开发环境",
+        "env": {
+          "UNI_PLATFORM": "h5",
+          "ENV_NAME": "development"
+        }
+      },
+      "h5-test": {
+        "title": "H5 测试环境",
+        "env": {
+          "UNI_PLATFORM": "h5",
+          "ENV_NAME": "test"
+        }
+      },
+      "h5-prod": {
+        "title": "H5 生产环境",
+        "env": {
+          "UNI_PLATFORM": "h5",
+          "ENV_NAME": "production"
+        }
+      }
+    }
   }
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3