- Introduced `PosDesktopOrderBookingSelectorModal.vue` to streamline booking selection for desktop POS. - Added `orderBookingDisplay.js` utility for handling booking display and reference value normalization. - Created unit test `select-vehicle-form-pos.spec.js` to validate booking selection flow and registration matching. - Implemented `run-playwright-ci-parallel.mjs` script to optimize Playwright CI with parallel testing. - Updated styles and responsiveness for enhanced booking modal UX.
99 lines
3.6 KiB
JSON
99 lines
3.6 KiB
JSON
{
|
|
"name": "truckwashdashboardsfrontend",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:dev": "vite build --mode development",
|
|
"format:tests": "prettier --write \"tests/**/*.{js,ts}\"",
|
|
"format:tests:check": "prettier --check \"tests/**/*.{js,ts}\"",
|
|
"postinstall": "node ../scripts/sync-playwright-root-links.mjs",
|
|
"preview": "vite preview",
|
|
"preview:prod": "npm run build && npm run preview -- --host 127.0.0.1 --port 4173",
|
|
"test:unit": "vitest run",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ci": "node scripts/run-playwright-ci-parallel.mjs",
|
|
"test:e2e:ci:serial": "playwright test --reporter=line,html",
|
|
"test:e2e:smoke": "playwright test --grep @smoke --project=chromium-desktop --project=chromium-mobile",
|
|
"test:e2e:prod": "playwright test --config=playwright.prod.config.ts",
|
|
"test:e2e:live": "playwright test --config=playwright.live.config.ts",
|
|
"test:e2e:release": "npm run test:e2e:prod && npm run test:e2e:live",
|
|
"test:e2e:pos-mobile-live": "node -e \"const { spawnSync } = require('child_process'); const result = spawnSync('npx', ['playwright', 'test', 'tests/e2e/adminModulePosMobileOrderFlow.spec.ts', '--project=chromium-mobile'], { stdio: 'inherit', shell: true, env: { ...process.env, PLAYWRIGHT_LIVE: '1' } }); process.exit(result.status ?? 1);\"",
|
|
"test:all": "npm run test:unit && npm run test:e2e:smoke",
|
|
"twa:build": "bubblewrap build",
|
|
"twa:update": "bubblewrap update"
|
|
},
|
|
"dependencies": {
|
|
"@azure/msal-browser": "^4.12.0",
|
|
"@bubblewrap/cli": "^1.23.0",
|
|
"@creativebulma/bulma-badge": "^1.0.1",
|
|
"@fullcalendar/core": "^6.1.17",
|
|
"@fullcalendar/daygrid": "^6.1.17",
|
|
"@fullcalendar/interaction": "^6.1.17",
|
|
"@fullcalendar/list": "^6.1.17",
|
|
"@fullcalendar/timegrid": "^6.1.17",
|
|
"@fullcalendar/vue3": "^6.1.17",
|
|
"@popperjs/core": "^2.11.8",
|
|
"@sweetalert2/theme-bulma": "^5.0.18",
|
|
"@sweetalert2/theme-dark": "^5.0.18",
|
|
"@vue-flow/core": "^1.43.1",
|
|
"@vueuse/core": "^12.7.0",
|
|
"@vueuse/head": "^2.0.0",
|
|
"@vueuse/integrations": "^13.7.0",
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
"animate.css": "^4.1.1",
|
|
"apexcharts": "^5.10.4",
|
|
"axios": "1.13.5",
|
|
"buefy": "^3.0.3",
|
|
"bulma": "^1.0.2",
|
|
"bulma-block-list": "^1.1.0",
|
|
"bulma-calendar": "^7.1.1",
|
|
"bulma-list": "^3.0.0",
|
|
"bulma-o-steps": "^1.1.0",
|
|
"bulma-pageloader": "^0.3.0",
|
|
"bulma-quickview": "^2.0.0",
|
|
"bulma-switch": "^2.0.4",
|
|
"chart.js": "^4.4.7",
|
|
"dayspan-vuetify": "^0.4.0",
|
|
"flow": "^0.2.3",
|
|
"qrcode": "^1.5.4",
|
|
"sass": "^1.81.1",
|
|
"sweetalert2": "11.22.4",
|
|
"tesseract.js": "^6.0.1",
|
|
"toastify-js": "^1.12.0",
|
|
"vite-plugin-singlefile": "^2.1.0",
|
|
"vue": "^3.5.12",
|
|
"vue-cal": "^5.0.1-rc.20",
|
|
"vue-chartjs": "^5.3.2",
|
|
"vue-i18n": "^9.14.5",
|
|
"vue-popperjs": "^2.3.0",
|
|
"vue-qrcode-reader": "^5.7.3",
|
|
"vue-router": "^4.5.0",
|
|
"vue-toast-notification": "^3.1.3",
|
|
"vue3-apexcharts": "^1.11.1",
|
|
"vue3-cookies": "^1.0.6",
|
|
"vuex": "^4.1.0",
|
|
"xlsx": "^0.18.5",
|
|
"xterm": "^5.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@creativebulma/bulma-divider": "^1.1.0",
|
|
"@event-calendar/core": "^4.1.0",
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/event-calendar__core": "^3.7.0",
|
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
"@vitejs/plugin-vue-jsx": "^5.1.5",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"jsdom": "^29.0.0",
|
|
"otpauth": "^9.5.0",
|
|
"prettier": "2.8.8",
|
|
"sass-embedded": "^1.81.0",
|
|
"vite": "7.1.11",
|
|
"vite-plugin-pwa": "^1.0.2",
|
|
"vite-plugin-vue-devtools": "^7.5.4",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|