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 | 41 +++++++++++++++++++++++++++++++----------
1 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/package.json b/package.json
index f368bc3..97808fb 100644
--- a/package.json
+++ b/package.json
@@ -2,11 +2,9 @@
"name": "uniapp-vue3-project",
"type": "module",
"version": "1.5.0",
- "description": "uniapp 团队协作开发实践模板(Vue3)",
+ "description": "掌控智飞",
"author": {
- "name": "江阳小道",
- "email": "oyjt001@gmail.com",
- "github": "https://github.com/oyjt"
+ "name": "ztzf"
},
"license": "MIT",
"homepage": "https://github.com/oyjt/uniapp-vue3-template",
@@ -56,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,7 +74,11 @@
"@dcloudio/uni-mp-weixin": "3.0.0-4070520250711001",
"@dcloudio/uni-mp-xhs": "3.0.0-4070520250711001",
"@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",
"pinia": "2.2.4",
"pinia-plugin-persistedstate": "4.1.3",
@@ -109,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",
@@ -129,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",
@@ -140,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"
+ }
+ }
+ }
}
}
--
Gitblit v1.9.3