Start migration to vite

This commit is contained in:
Georg Krause 2022-02-21 15:07:07 +01:00
commit e9c4bfe947
No known key found for this signature in database
GPG key ID: FD479B9A4D48E632
36 changed files with 616 additions and 5658 deletions

View file

@ -5,8 +5,9 @@
"description": "Funkwhale front-end",
"author": "Funkwhale Collective <contact@funkwhale.audio>",
"scripts": {
"serve": "[ ! -d src/translations ] && npm run i18n-compile; vue-cli-service serve --port ${VUE_PORT:-8080} --host ${VUE_HOST:-0.0.0.0}",
"build": "scripts/i18n-compile.sh && vue-cli-service build",
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"test:unit": "vue-cli-service test:unit --reporter mocha-junit-reporter",
"lint": "eslint --ext .js,.vue src",
"fix-fomantic-css": "scripts/fix-fomantic-css.sh",
@ -17,7 +18,6 @@
"dependencies": {
"axios": "0.26.0",
"axios-auth-refresh": "2.2.8",
"core-js": "3.21.1",
"diff": "5.0.0",
"django-channels": "2.1.3",
"focus-trap": "6.7.3",
@ -44,12 +44,9 @@
"vuex-router-sync": "5.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "7.17.0",
"@vue/cli-plugin-babel": "~5.0.1",
"@vue/cli-plugin-pwa": "~5.0.1",
"@vue/cli-plugin-unit-mocha": "~5.0.1",
"@vue/cli-service": "~5.0.1",
"@vitejs/plugin-vue": "^2.2.2",
"@vue/test-utils": "1.3.0",
"autoprefixer": "^10.4.2",
"chai": "4.3.6",
"easygettext": "2.17.0",
"eslint": "8.9.0",
@ -63,12 +60,10 @@
"mocha": "9.2.1",
"mocha-junit-reporter": "2.0.2",
"moxios": "0.4.0",
"preload-webpack-plugin": "3.0.0-beta.4",
"purgecss-webpack-plugin": "4.1.3",
"sass-loader": "10.2.1",
"sinon": "13.0.1",
"vue-template-compiler": "2.6.14",
"webpack-bundle-size-analyzer": "3.1.0"
"vite": "^2.8.4",
"vite-plugin-vue2": "^1.9.3",
"vue-template-compiler": "^2.6.14"
},
"eslintConfig": {
"root": true,