配置前端三环境变量
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-06 11:59:54 +08:00
parent 4a6a7f9c29
commit 19d048dd66
14 changed files with 173 additions and 82 deletions

View File

@@ -8,10 +8,14 @@
"node": ">=20 <25"
},
"scripts": {
"dev:h5": "uni -p h5",
"build:h5": "uni build -p h5 && node scripts/copy-h5-nav-assets.cjs",
"dev:mp-weixin": "uni -p mp-weixin",
"build:mp-weixin": "uni build -p mp-weixin",
"dev:h5": "uni -p h5 --mode development",
"dev:test:h5": "uni -p h5 --mode test",
"build:test:h5": "uni build -p h5 --mode test && node scripts/copy-h5-nav-assets.cjs",
"build:h5": "uni build -p h5 --mode production && node scripts/copy-h5-nav-assets.cjs",
"dev:mp-weixin": "uni -p mp-weixin --mode development",
"dev:test:mp-weixin": "uni -p mp-weixin --mode test",
"build:test:mp-weixin": "uni build -p mp-weixin --mode test",
"build:mp-weixin": "uni build -p mp-weixin --mode production",
"type-check": "vue-tsc --noEmit",
"lint": "eslint \"src/**/*.{ts,vue}\""
},