diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index 382b8c221..9041e4514 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -8,7 +8,7 @@ module.exports = { '@vue/standard' ], parserOptions: { - parser: 'babel-eslint' + parser: '@babel/eslint-parser' }, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', diff --git a/frontend/package.json b/frontend/package.json index afc8d01cb..62830a982 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,21 +17,16 @@ "bootstrap-vue": "^2.21.2", "browser-detect": "^0.2.28", "core-js": "^3.6.5", - "font-awesome": "^4.7.0", "highlight.js": "10", "iview": "2", "katex": "^0.12.0", "moment": "^2.29.1", "papaparse": "^5.3.0", - "screenfull": "^5.1.0", "turndown": "^7.0.0", "vue": "^2.6.11", - "vue-analytics": "^5.22.1", "vue-clipboard2": "^0.3.1", "vue-codemirror-lite": "^1.0.4", - "vue-cropper": "^0.5.6", "vue-dompurify-html": "^2.3.0", - "vue-highlight-component": "^1.0.0", "vue-katex": "^0.5.0", "vue-router": "^3.2.0", "vue-simple-alert": "^1.1.1", @@ -39,22 +34,20 @@ "vuex-router-sync": "^5.0.0" }, "devDependencies": { + "@babel/eslint-parser": "^7.15.4", "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-router": "~4.5.0", "@vue/cli-plugin-vuex": "~4.5.0", "@vue/cli-service": "~4.5.0", "@vue/eslint-config-standard": "^5.1.2", - "babel-eslint": "^10.1.0", - "eslint": "^6.7.2", + "eslint": "^7.5.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.0", - "eslint-plugin-vue": "^6.2.2", - "less": "^4.1.1", - "less-loader": "^5.0.0", - "node-sass": "^4.12.0", + "eslint-plugin-vue": "^7.17.0", + "sass": "^1.39.0", "sass-loader": "^8.0.2", "vue-cli-plugin-dll": "~1.1.12", "vue-template-compiler": "^2.6.11" diff --git a/frontend/src/pages/admin/components/ScreenFull.vue b/frontend/src/pages/admin/components/ScreenFull.vue deleted file mode 100644 index 4cd0fd282..000000000 --- a/frontend/src/pages/admin/components/ScreenFull.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/frontend/src/pages/admin/index.js b/frontend/src/pages/admin/index.js index 7a67cff4c..007fb1c2b 100644 --- a/frontend/src/pages/admin/index.js +++ b/frontend/src/pages/admin/index.js @@ -8,8 +8,6 @@ import 'bootstrap-vue/dist/bootstrap-vue.css' import filters from '@/utils/filters' import router from './router' -import { GOOGLE_ANALYTICS_ID } from '@/utils/constants' -import VueAnalytics from 'vue-analytics' import 'katex/dist/katex.min.css' import VueKatex from 'vue-katex' import VueSimpleAlert from 'vue-simple-alert' @@ -25,11 +23,6 @@ Object.keys(filters).forEach(key => { Vue.filter(key, filters[key]) }) -Vue.use(VueAnalytics, { - id: GOOGLE_ANALYTICS_ID, - router -}) - Vue.use(BootstrapVue) Vue.use(BootstrapVueIcons) diff --git a/frontend/src/pages/admin/views/Home.vue b/frontend/src/pages/admin/views/Home.vue index e11de787f..16bc40f38 100644 --- a/frontend/src/pages/admin/views/Home.vue +++ b/frontend/src/pages/admin/views/Home.vue @@ -14,19 +14,6 @@ > - - - -