diff --git a/Dockerfile b/Dockerfile index a8758ae..98aa96a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 运行时 -FROM python:3.6.8-slim-stretch +FROM python:3.7.10-slim-stretch RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak \ && echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free">>/etc/apt/sources.list \ && echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free">>/etc/apt/sources.list \ diff --git a/frontend/.gitignore b/frontend/.gitignore index a0dddc6..da9593d 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -19,3 +19,6 @@ yarn-error.log* *.njsproj *.sln *.sw? + + +package-lock.json diff --git a/frontend/babel.config.js b/frontend/babel.config.js index 42ecc88..3de35ba 100644 --- a/frontend/babel.config.js +++ b/frontend/babel.config.js @@ -1,6 +1,6 @@ module.exports = { presets: [ - '@vue/app' + '@vue/cli-plugin-babel/preset' ], plugins: [ [ diff --git a/frontend/package.json b/frontend/package.json index d5ad3f5..3bf35a7 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,8 +8,8 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "axios": "^0.19.0", - "core-js": "^2.6.5", + "axios": "^0.21.1", + "core-js": "^3.6.5", "downloadjs": "^1.4.7", "element-ui": "^2.9.1", "lodash": "^4.17.19", @@ -19,13 +19,13 @@ "vue-router": "^3.0.6" }, "devDependencies": { - "@vue/cli-plugin-babel": "^3.7.0", - "@vue/cli-plugin-eslint": "^3.7.0", - "@vue/cli-service": "^4.2.2", - "babel-eslint": "^10.0.1", + "@vue/cli-plugin-babel": "^4.5.12", + "@vue/cli-plugin-eslint": "^4.5.12", + "@vue/cli-service": "~4.5.12", + "babel-eslint": "^10.1.0", "babel-plugin-component": "^1.1.1", - "eslint": "^5.16.0", - "eslint-plugin-vue": "^5.0.0", + "eslint": "^6.7.2", + "eslint-plugin-vue": "^6.2.2", "vue-template-compiler": "^2.5.21" }, "eslintConfig": {