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
29 lines
624 B
JSON
29 lines
624 B
JSON
{
|
|
"name": "@scandic-hotels/scandic-redirect",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "yarn@4.6.0",
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"generate": "jiti ./scripts/generateRedirectFile/index.ts",
|
|
"format": "prettier --write ."
|
|
},
|
|
"dependencies": {
|
|
"@netlify/functions": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"convert-csv-to-json": "^3.4.0",
|
|
"jiti": "^2.6.1",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"trailingComma": "es5",
|
|
"singleQuote": false,
|
|
"printWidth": 80,
|
|
"tabWidth": 2,
|
|
"endOfLine": "lf"
|
|
}
|
|
}
|