Feature/SW-3149 send logs to sentry * Use sentry for logging * . * fix(SW-3149) Send logs to Sentry * remove experimental flag for logs * add sentry settings for partner-sas * feat(SW-3108): Added external link option to top primary button on content/collection page Approved-by: Matilda Landström * fix(BOOK-152): Removed old header references inside useStickyPosition hook to fix offset issue for the sitewide alert Approved-by: Matilda Landström * Merged in fix/LOY-360-team-member-text-for-retired-employees (pull request #2799) fix(LOY-360): improve text for retired employees * fix(LOY-360): improve text for retired employees Approved-by: Erik Tiekstra Approved-by: Matilda Landström * Merged in fix/STAY-67-redirect-to-webview-after-gla (pull request #2795) fix(STAY-67): redirect to webview after guarantee on my stay * fix(STAY-67): redirect to webview after guarantee on my stay * fix(STAY-67): add callback page for guarantee on webview Approved-by: Linus Flood * feat(SW-3152): Respecting image aspect ratio inside image gallery/lightbox * feat(SW-3152): Respecting image aspect ratio inside image gallery/lightbox * feat(BOOK-144): Make image clickable instead of a button to avoid being able to click outside of the image area Approved-by: Bianca Widstam Approved-by: Chuma Mcphoy (We Ahead) * Merged in fix/BOOK-127-translate-validation-text (pull request #2800) fix(BOOK-127): translate terms required message * fix(BOOK-127): translate terms required message Approved-by: Erik Tiekstra * Merged in feat/LOY-354-L7-Progress-Card (pull request #2786) Feat/LOY-354 L7 Progress Card * feat(LOY-354): Add Trophy icon * fix(LOY-354): include new tierPoints value * feat(LOY-354): L7 Progress Level Card support * refactor(LOY-354): Refactoring of component structure * fix(LOY-354): Remove intl prop drilling * fix(LOY-354): cleanup progress section code Approved-by: Erik Tiekstra * Merged in fix/BOOK-132-tracking-breakfast (pull request #2803) fix(BOOK-132): add breakfastOption tracking * fix(BOOK-132): add breakfastOption tracking Approved-by: Joakim Jäderberg * Merged in fix/enter-details-errors-missing (pull request #2806) fix: Add missing messages to BookingFlowInput errors * Add missing messages to BookingFlowInput errors * Fix errors * zippy zip * phoney Approved-by: Bianca Widstam Approved-by: Joakim Jäderberg * Merged in feature/copy-static-files-via-build-scripts (pull request #2798) SW-3467 Copy static files via build scripts * add file copy script and add all fonts to design-system * add file copy script and add all fonts to design-system * add file copy script and add all fonts to design-system * remove fonts that will be copied via build scripts * wip * update paths to shared files * update material-symbol script * merge * fix missing shared segment for path in fonts.css Approved-by: Linus Flood * Merged in feat/SW-2999-cleanup (pull request #2810) feat(SW-2999): cleanup current web * feat(SW-2999): cleanup current web * Merge master * Removed unused fonts Approved-by: Joakim Jäderberg * Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3149-send-logs-to-sentry * Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3149-send-logs-to-sentry * merge Approved-by: Linus Flood
153 lines
5.3 KiB
JSON
153 lines
5.3 KiB
JSON
{
|
|
"name": "@scandic-hotels/scandic-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "yarn clean && next build",
|
|
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
|
|
"lint": "yarn clean && next lint --max-warnings 0 && tsc",
|
|
"lint:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
|
|
"start": "node .next/standalone/server.js",
|
|
"test:component": "cypress open --component",
|
|
"test:component:headless": "cypress run --component",
|
|
"test:e2e": "start-server-and-test test:setup http://127.0.0.1:3000/en/sponsoring \"cypress open --e2e\"",
|
|
"test:e2e:headless": "start-server-and-test test:setup http://127.0.0.1:3000/en/sponsoring \"cypress run --e2e\"",
|
|
"test:setup": "yarn build && yarn start",
|
|
"preinstall": "/bin/sh -c \"export $(cat .env.local | grep -v '^#' | xargs)\"",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"ci:build": "yarn lint && yarn test && yarn build",
|
|
"clean": "rm -rf .next",
|
|
"check-types": "tsc --noEmit",
|
|
"include:shared": "jiti ../../scripts/copyFiles.ts ../../shared public/_static/shared"
|
|
},
|
|
"dependencies": {
|
|
"@contentstack/live-preview-utils": "^3.2.1",
|
|
"@formatjs/intl": "^3.1.6",
|
|
"@hookform/error-message": "^2.0.1",
|
|
"@hookform/resolvers": "^5.0.1",
|
|
"@internationalized/date": "^3.8.0",
|
|
"@netlify/blobs": "^8.1.0",
|
|
"@netlify/functions": "^3.0.0",
|
|
"@netlify/plugin-nextjs": "^5.11.2",
|
|
"@opentelemetry/api": "^1.9.0",
|
|
"@opentelemetry/api-logs": "^0.56.0",
|
|
"@opentelemetry/instrumentation": "^0.56.0",
|
|
"@opentelemetry/resources": "^1.29.0",
|
|
"@opentelemetry/sdk-logs": "^0.56.0",
|
|
"@opentelemetry/sdk-trace-base": "^1.29.0",
|
|
"@radix-ui/react-slot": "^1.2.2",
|
|
"@react-aria/ssr": "^3.9.8",
|
|
"@scandic-hotels/booking-flow": "workspace:*",
|
|
"@scandic-hotels/common": "workspace:*",
|
|
"@scandic-hotels/design-system": "workspace:*",
|
|
"@scandic-hotels/tracking": "workspace:*",
|
|
"@scandic-hotels/trpc": "workspace:*",
|
|
"@sentry/nextjs": "^10.11.0",
|
|
"@swc/plugin-formatjs": "^3.2.2",
|
|
"@t3-oss/env-nextjs": "^0.13.4",
|
|
"@tanstack/react-query": "^5.75.5",
|
|
"@tanstack/react-query-devtools": "^5.75.5",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@trpc/client": "^11.1.2",
|
|
"@trpc/react-query": "^11.1.2",
|
|
"@trpc/server": "^11.1.2",
|
|
"@tsparticles/confetti": "^3.8.1",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/supercluster": "^7.1.3",
|
|
"@vis.gl/react-google-maps": "^1.5.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"contentstack": "^3.25.3",
|
|
"date-fns": "^4.1.0",
|
|
"dayjs": "^1.11.13",
|
|
"deepmerge": "^4.3.1",
|
|
"dialogshift-webchat-sdk": "^2.10.1",
|
|
"downshift": "^9.0.9",
|
|
"embla-carousel": "^8.6.0",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"flat": "^6.0.1",
|
|
"graphql-tag": "^2.12.6",
|
|
"html-react-parser": "^5.2.3",
|
|
"ics": "^3.8.1",
|
|
"immer": "10.1.1",
|
|
"input-otp": "^1.4.2",
|
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"libphonenumber-js": "^1.12.7",
|
|
"lodash-es": "^4.17.21",
|
|
"md5": "^2.3.0",
|
|
"motion": "^12.10.0",
|
|
"nanoid": "^5.1.5",
|
|
"next": "15.3.4",
|
|
"next-auth": "5.0.0-beta.27",
|
|
"react": "19.1.0",
|
|
"react-aria-components": "^1.8.0",
|
|
"react-day-picker": "^9.6.7",
|
|
"react-dom": "19.1.0",
|
|
"react-feather": "^2.0.10",
|
|
"react-focus-lock": "^2.13.6",
|
|
"react-hook-form": "^7.56.2",
|
|
"react-international-phone": "^4.5.0",
|
|
"react-intl": "^7.1.11",
|
|
"server-only": "^0.0.1",
|
|
"supercluster": "^8.0.1",
|
|
"usehooks-ts": "3.1.1",
|
|
"zod": "^3.24.4",
|
|
"zustand": "^4.5.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/compat": "^1.2.9",
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.26.0",
|
|
"@formatjs/cli": "^6.7.1",
|
|
"@lokalise/node-api": "^14.0.0",
|
|
"@react-aria/test-utils": "1.0.0-alpha.8",
|
|
"@scandic-hotels/typescript-config": "workspace:*",
|
|
"@svgr/webpack": "^8.1.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/adm-zip": "^0.5.7",
|
|
"@types/json-stable-stringify-without-jsonify": "^1.0.2",
|
|
"@types/jsonwebtoken": "^9",
|
|
"@types/lodash-es": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "19.1.0",
|
|
"@types/react-dom": "19.1.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.32.0",
|
|
"@typescript-eslint/parser": "^8.32.0",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"adm-zip": "^0.5.16",
|
|
"babel-plugin-formatjs": "^10.5.39",
|
|
"cypress": "^14.3.3",
|
|
"dotenv": "^16.5.0",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.3.2",
|
|
"eslint-plugin-formatjs": "^5.3.1",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"jiti": "^1.21.0",
|
|
"jsdom": "^26.1.0",
|
|
"json-sort-cli": "^4.0.9",
|
|
"lint-staged": "^15.5.2",
|
|
"netlify-plugin-cypress": "^2.2.1",
|
|
"prettier": "^3.5.3",
|
|
"schema-dts": "^1.1.5",
|
|
"start-server-and-test": "^2.0.11",
|
|
"ts-morph": "^25.0.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "5.8.3",
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"engines": {
|
|
"node": "22"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "19.1.0",
|
|
"@types/react-dom": "19.1.0"
|
|
}
|
|
}
|