You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
2.0 KiB

{
"name": "szkp-map-h5",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"postinstall": "node ./scripts/patch-uni.js",
"dev:h5": "uni -p h5",
"dev:h5:testing": "uni -p h5 --mode testing",
"dev:mp-weixin": "uni -p mp-weixin",
"build:h5": "uni build -p h5 --base /h5/ && rm -rf ../szkp-map-service/public/h5 && mkdir -p ../szkp-map-service/public/h5 && cp -R dist/build/h5/. ../szkp-map-service/public/h5/ && mkdir -p ../szkp-map-service/public/h5/static/tab && cp -f src/static/tab/*.png ../szkp-map-service/public/h5/static/tab/",
"build:h5:prod": "VITE_API_BASE_URL=https://szkp-map.langye.net/api VITE_PEOPLE_COUNTING_URL=https://hik.pdc.langye.net:18080/api/people-counting uni build -p h5 --base /h5/ && rm -rf ../szkp-map-service/public/h5 && mkdir -p ../szkp-map-service/public/h5 && cp -R dist/build/h5/. ../szkp-map-service/public/h5/ && mkdir -p ../szkp-map-service/public/h5/static/tab && cp -f src/static/tab/*.png ../szkp-map-service/public/h5/static/tab/",
"build:h5:testing": "uni build -p h5 --mode testing --base /h5/ && rm -rf ../szkp-map-service/public/h5 && mkdir -p ../szkp-map-service/public/h5 && cp -R dist/build/h5/. ../szkp-map-service/public/h5/ && mkdir -p ../szkp-map-service/public/h5/static/tab && cp -f src/static/tab/*.png ../szkp-map-service/public/h5/static/tab/",
"build:mp-weixin": "uni build -p mp-weixin",
"type-check": "vue-tsc --noEmit"
},
"dependencies": {
"@dcloudio/uni-app": "3.0.0-alpha-4080320251016001",
"@dcloudio/uni-h5": "3.0.0-alpha-4080320251016001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-4080320251016001",
"pinia": "2.1.7",
"qrcode": "^1.5.4",
"vue": "3.4.21"
},
"devDependencies": {
"@dcloudio/types": "^3.4.8",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-4080320251016001",
"@types/qrcode": "^1.5.6",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "3.4.21",
"@vue/tsconfig": "^0.1.3",
"sass": "^1.93.2",
"typescript": "5.3.3",
"vite": "5.2.8",
"vue-tsc": "^3.1.1"
}
}