Files
web/packages/tracking/package.json
Joakim Jäderberg bf6ed7778e Merged in feat/syncDefaultMessage (pull request #3022)
Sync defaultMessage from lokalise

* Enhance translation sync functionality and tests

- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.

* feat(syncDefaultMessage): add script for syncing default message with lokalise

* feat(syncDefaultMessage): add script for syncing default message with lokalise


Approved-by: Matilda Landström
2025-10-30 08:38:50 +00:00

49 lines
1.2 KiB
JSON

{
"name": "@scandic-hotels/tracking",
"private": true,
"version": "1.0.0",
"main": "./lib/TrackingSDK.tsx",
"type": "module",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"check-types": "tsc --noEmit",
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
"format": "prettier --write ."
},
"exports": {
"./*": "./lib/*.ts",
"./TrackingSDK": "./lib/TrackingSDK.tsx",
"./NoAvailabilityTracking": "./lib/NoAvailabilityTracking.tsx"
},
"dependencies": {
"@scandic-hotels/common": "workspace:*",
"@scandic-hotels/trpc": "workspace:*"
},
"peerDependencies": {
"react": "^19"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.26.0",
"@scandic-hotels/typescript-config": "workspace:*",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"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": "^3.2.4"
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 80,
"tabWidth": 2,
"endOfLine": "lf"
}
}