Files
web/packages/trpc/package.json
Anton Gunnarsson 16fbdb7ae0 Merged in fix/refactor-currency-display (pull request #3434)
fix(SW-3616): Handle EuroBonus point type everywhere

* Add tests to formatPrice

* formatPrice

* More work replacing config with api points type

* More work replacing config with api points type

* More fixing with currency

* maybe actually fixed it

* Fix MyStay

* Clean up

* Fix comments

* Merge branch 'master' into fix/refactor-currency-display

* Fix calculateTotalPrice for EB points + SF points + cash


Approved-by: Joakim Jäderberg
2026-01-15 09:32:17 +00:00

91 lines
3.1 KiB
JSON

{
"name": "@scandic-hotels/trpc",
"version": "1.0.0",
"type": "module",
"scripts": {
"check-types": "tsgo --noEmit",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write ."
},
"exports": {
".": "./lib/index.ts",
"./types.d.ts": "./types.d.ts",
"./context": "./lib/context.ts",
"./errors": "./lib/errors.ts",
"./procedures": "./lib/procedures.ts",
"./transformer": "./lib/transformer.ts",
"./serverClient": "./lib/serverClient.ts",
"./client": "./lib/client.ts",
"./Provider": "./lib/Provider.tsx",
"./utils/generateTag": "./lib/utils/generateTag.ts",
"./graphql/request": "./lib/graphql/request.ts",
"./graphql/batchRequest": "./lib/graphql/batchRequest.ts",
"./routers/*": "./lib/routers/*/index.ts",
"./routers/contentstack/*": "./lib/routers/contentstack/*.ts",
"./routers/hotels/*": "./lib/routers/hotels/*.ts",
"./routers/booking/*": "./lib/routers/booking/*.ts",
"./routers/user/query": "./lib/routers/user/query/index.ts",
"./routers/user/*": "./lib/routers/user/*.ts",
"./routers/partners/*": "./lib/routers/partners/*.ts",
"./routers/autocomplete/*": "./lib/routers/autocomplete/*.ts",
"./routers/navigation/*": "./lib/routers/navigation/*.ts",
"./routers/appRouter": "./lib/routers/appRouter.ts",
"./enums/*": "./lib/enums/*.ts",
"./types/*": "./lib/types/*.ts",
"./constants/*": "./lib/constants/*.ts",
"./api": "./lib/api/index.ts",
"./utils": "./lib/utils.ts",
"./utils/*": "./lib/utils/*.ts",
"./cms/*": "./lib/services/cms/*.ts",
"./previewContext": "./lib/previewContext.ts",
"./jwt.d.ts": "./jwt.d.ts",
"./auth.d.ts": "./auth.d.ts"
},
"dependencies": {
"@scandic-hotels/common": "workspace:*",
"@t3-oss/env-nextjs": "^0.13.4",
"@trpc/client": "^11.1.2",
"@trpc/react-query": "^11.1.2",
"@trpc/server": "^11.1.2",
"dayjs": "^1.11.13",
"deepmerge": "^4.3.1",
"fuse.js": "^7.1.0",
"graphql": "^16.11.0",
"graphql-request": "^7.1.2",
"graphql-tag": "^2.12.6",
"json-stable-stringify-without-jsonify": "^1.0.1",
"next-auth": "5.0.0-beta.29",
"server-only": "^0.0.1",
"slugify": "^1.6.6",
"superjson": "^2.2.2",
"uuid": "^11.1.0",
"zod": "^3.24.4"
},
"peerDependencies": {
"@sentry/nextjs": "^10",
"@tanstack/react-query": "^5.75.5",
"@tanstack/react-query-devtools": "^5.75.5",
"next": "^16",
"react": "^19"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@scandic-hotels/typescript-config": "workspace:*",
"@types/react": "19.2.7",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"@typescript/native-preview": "^7.0.0-dev.20251104.1",
"dotenv": "^16.5.0",
"eslint": "^9",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"typescript": "5.8.3",
"vitest": "^4.0.0"
}
}