diff --git a/package.json b/package.json index 2f95a78..b388523 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,8 @@ "author": "Kevin Midboe", "private": true, "scripts": { - "dev": "NODE_ENV=development webpack server", - "build": "yarn build:ts && yarn build:webpack", - "build:ts": "tsc --project tsconfig.json", - "build:webpack": "NODE_ENV=production webpack-cli build --progress", + "dev": "NODE_ENV=development vite", + "build": "yarn vite build", "postbuild": "cp public/dist/index.html public/index.html", "clean": "rm -r public/dist 2> /dev/null; rm public/index.html 2> /dev/null; rm -r lib 2> /dev/null", "start": "echo 'Start using docker, consult README'", @@ -17,45 +15,15 @@ }, "dependencies": { "chart.js": "3.9.1", - "connect-history-api-fallback": "2.0.0", - "dotenv": "^16.0.1", - "express": "4.18.1", - "vue": "3.2.37", - "vue-router": "4.1.3", - "vuex": "4.0.2" + "vue": "3.5.28", + "vue-router": "5.0.3", + "vuex": "4.1.0" }, "devDependencies": { - "@babel/core": "7.18.10", - "@babel/plugin-transform-runtime": "7.18.10", - "@babel/preset-env": "7.18.10", - "@babel/runtime": "7.18.9", - "@types/express": "4.17.13", - "@types/node": "18.6.1", - "@typescript-eslint/eslint-plugin": "5.33.0", - "@typescript-eslint/parser": "5.33.0", - "@vue/cli": "5.0.8", - "@vue/cli-service": "5.0.8", - "@vue/eslint-config-airbnb": "6.0.0", - "babel-loader": "8.2.5", - "css-loader": "6.7.1", - "documentation": "13.2.5", - "eslint": "8.21.0", - "eslint-config-prettier": "8.5.0", - "eslint-plugin-import": "2.26.0", - "eslint-plugin-prettier": "4.2.1", - "eslint-plugin-vue": "9.3.0", - "eslint-plugin-vuejs-accessibility": "1.2.0", - "file-loader": "6.2.0", - "html-webpack-plugin": "5.5.0", + "@vitejs/plugin-vue": "^5.2.1", "prettier": "2.7.1", "sass": "1.54.3", - "sass-loader": "13.0.2", - "terser-webpack-plugin": "5.3.3", - "ts-loader": "9.3.1", "typescript": "4.7.4", - "vue-loader": "17.0.0", - "webpack": "5.74.0", - "webpack-cli": "4.10.0", - "webpack-dev-server": "4.9.3" + "vite": "^6.0.3" } } diff --git a/src/App.vue b/src/App.vue index 7d837d9..81a8529 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@