Files
web/package.json
Joakim Jäderberg ec511e2c8b Merged in feature/tsgo (pull request #3069)
Use tsgo for typechecking

* switch to tsgo for type-checking

* Merged in chore/remove-cypress (pull request #3066)

chore: remove unused dependencies

* chore: remove cypress

* remove unused deps

* update yarn.lock after removing unused deps


Approved-by: Anton Gunnarsson

* use tsgo for typechecking

* use tsgo for type-checking

* yarn install

* fix(BOOK-496): Slowed down the MarqueeText component animation

Approved-by: Matilda Landström

* switch to tsgo for type-checking

* use tsgo for typechecking

* use tsgo for type-checking

* yarn install

* Merge branch 'feature/tsgo' of bitbucket.org:scandic-swap/web into feature/tsgo

* switch to use yarn check-types in lint-staged

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/tsgo


Approved-by: Linus Flood
2025-11-06 12:34:23 +00:00

54 lines
2.8 KiB
JSON

{
"name": "scandic",
"packageManager": "yarn@4.6.0",
"scripts": {
"build": "turbo run build --env-mode=loose",
"build:web": "turbo run build --filter=@scandic-hotels/scandic-web --env-mode=loose",
"build:sas": "turbo run build --filter=@scandic-hotels/partner-sas --env-mode=loose",
"lint": "turbo run lint",
"dev": "turbo run dev --output-logs new-only",
"dev:web": "turbo run dev --filter=@scandic-hotels/scandic-web --output-logs new-only",
"dev:ds": "turbo run dev --filter=@scandic-hotels/design-system --output-logs new-only",
"dev:sas": "turbo run dev --filter=@scandic-hotels/partner-sas --output-logs new-only",
"test": "turbo run test",
"format": "turbo run format",
"postinstall": "husky",
"icons:update": "jiti scripts/material-symbols-update.mts",
"check-types": "turbo run check-types",
"env:web": "node scripts/show-env.mjs scandic-web --missing",
"env:sas": "node scripts/show-env.mjs partner-sas --missing",
"i18n:extract": "formatjs extract \"{apps/scandic-web,apps/partner-sas,packages/booking-flow,packages/design-system}/{actions,app,components,constants,contexts,env,hooks,i18n,lib,middlewares,netlify,providers,server,services,stores,utils}/**/*.{ts,tsx}\" --format scripts/i18n/formatter.mjs --out-file scripts/i18n/extracted.json",
"i18n:upload": "jiti scripts/i18n/upload.ts",
"i18n:download": "jiti scripts/i18n/download.ts",
"i18n:compile": "formatjs compile-folder --ast --format scripts/i18n/formatter.mjs scripts/i18n/translations-all scripts/i18n/dictionaries",
"i18n:diff": "node scripts/i18n/diff.mjs",
"i18n:clean": "jiti scripts/i18n/clean.ts",
"i18n:distribute": "jiti scripts/i18n/distribute.ts scandic-web partner-sas",
"i18n:push": "yarn i18n:extract && yarn i18n:upload",
"i18n:pull": "yarn i18n:download && yarn i18n:compile && yarn i18n:distribute",
"i18n:sync": "yarn i18n:push && yarn i18n:pull",
"i18n:syncDefaultMessage": "yarn i18n:download && bun scripts/i18n/syncDefaultMessage/index.ts scripts/i18n/translations/en.json '{apps,packages}/**/*.{tsx,ts}' && yarn format --force"
},
"workspaces": [
"apps/*",
"packages/*"
],
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@formatjs/cli": "^6.7.1",
"@types/react": "19.1.0",
"@types/react-dom": "19.1.0",
"@typescript/native-preview": "^7.0.0-dev.20251104.1",
"@yarnpkg/types": "^4.0.1",
"commander": "^14.0.0",
"husky": "^9.1.7",
"jiti": "^1.21.0",
"lint-staged": "^15.2.2",
"prettier": "^3.6.2",
"turbo": "^2.5.2"
},
"resolutions": {
"vite": "^6.3.5"
}
}