罗广辉
2026-04-24 648904d076ae6e17892b40675598b1c8dc474277
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"
        }
      }
    }
  }
}
}