updated dependencies for vue 3 and vite

Updated vue and vuex to vue 3 and vuex 4
Replaced vue-cli with vite
Removing a whole bunch of dependencies in the process
This commit is contained in:
2022-11-29 17:23:37 +01:00
parent 3d1da96043
commit c57d8bfcfa
7 changed files with 1537 additions and 34638 deletions

View File

@ -3,26 +3,23 @@
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^2.6.11",
"vuex": "^3.6.2"
"@vitejs/plugin-vue": "^3.2.0",
"install": "^0.13.0",
"vite": "^3.2.4",
"vue": "3.2",
"vuex": "4.1"
},
"devDependencies": {
"@vue/cli": "^4.5.15",
"@vue/cli-service-global": "^4.5.15",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^9.8.0",
"prettier": "2.8.0"
},
"eslintConfig": {
"root": true,