1
0

feat: add legacy build

This commit is contained in:
Dominik Pschenitschni
2021-10-07 13:59:10 +02:00
parent 3c5c3cad10
commit 17d791027c
3 changed files with 214 additions and 228 deletions

View File

@ -7,11 +7,13 @@
"serve:dist-dev": "node scripts/serve-dist.js",
"serve:dist": "vite preview",
"build": "vite build && workbox copyLibraries dist/",
"build:modern-only": "BUILD_MODERN_ONLY=true vite build && workbox copyLibraries dist/",
"build:dev": "vite build -m development --outDir dist-dev/",
"lint": "eslint --ignore-pattern '*.test.*' ./src --ext .vue,.js,.ts",
"cypress:open": "cypress open",
"test:unit": "jest",
"test:frontend": "cypress run"
"test:frontend": "cypress run",
"browserslist:update": "npx browserslist@latest --update-db"
},
"dependencies": {
"bulma": "0.9.3",
@ -46,16 +48,17 @@
"@types/jest": "27.0.2",
"@typescript-eslint/eslint-plugin": "4.32.0",
"@typescript-eslint/parser": "4.32.0",
"@vitejs/plugin-legacy": "^1.6.1",
"@vue/eslint-config-typescript": "7.0.0",
"@vue/runtime-dom": "latest",
"autoprefixer": "10.3.6",
"axios": "0.21.4",
"browserslist": "4.17.1",
"browserslist": "4.17.3",
"cypress": "8.5.0",
"cypress-file-upload": "5.0.8",
"esbuild": "0.13.3",
"esbuild": "0.13.4",
"eslint": "7.32.0",
"eslint-plugin-vue": "7.18.0",
"eslint-plugin-vue": "7.19.1",
"express": "4.17.1",
"faker": "5.5.3",
"jest": "27.2.4",
@ -65,8 +68,8 @@
"sass": "1.42.1",
"ts-jest": "27.0.5",
"typescript": "4.4.3",
"vite": "2.6.1",
"vite-plugin-pwa": "0.11.2",
"vite": "2.6.3",
"vite-plugin-pwa": "0.11.3",
"vite-plugin-vue2": "1.8.2",
"vue-flatpickr-component": "8.1.7",
"vue-notification": "1.3.20",
@ -120,13 +123,6 @@
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie > 0",
"not dead",
"Firefox ESR"
],
"jest": {
"testPathIgnorePatterns": [
"cypress"