Commit e432da4b by zhangxingmin

push

parent 3dfb0b5d
......@@ -2,12 +2,9 @@ FROM node:16
WORKDIR /app
# 先安装构建工具
RUN npm install -g @vue/cli @dcloudio/uni-app
# 安装依赖
# 安装项目依赖(包含开发依赖)
COPY package*.json ./
RUN npm install --legacy-peer-deps
RUN npm install --include=dev --legacy-peer-deps
# 复制源码并构建
COPY . .
......
......@@ -16,6 +16,7 @@
},
"dependencies": {
"@dcloudio/vue-cli-plugin-uni": "^3.0.0-27920200625001",
"@vue/cli-service": "^5.0.8",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
"echarts": "^5.4.1",
......@@ -26,6 +27,8 @@
"less": "^4.3.0"
},
"scripts": {
"build:h5": "vue-cli-service uni-build --platform h5"
"dev": "uni -p",
"build:h5": "npx vue-cli-service uni-build --platform h5",
"build:weapp": "uni build --platform mp-weixin"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment