diff --git a/scripts/i18n-formatter.js b/bin/i18n-formatter.js similarity index 100% rename from scripts/i18n-formatter.js rename to bin/i18n-formatter.js diff --git a/package.json b/package.json index d16ca403f..0c1363732 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "test": "TZ=Europe/Amsterdam vitest", "test:storybook": "test-storybook --coverage", "prepare-package": "node bin/prepare-package.js", - "makemessages-en": "formatjs extract 'src/**/*.{js,jsx}' --format scripts/i18n-formatter.js --out-file src/i18n/messages/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'", - "makemessages-nl": "formatjs extract 'src/**/*.{js,jsx}' --format scripts/i18n-formatter.js --out-file src/i18n/messages/nl.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'", + "makemessages-en": "formatjs extract 'src/**/*.{js,jsx}' --format bin/i18n-formatter.js --out-file src/i18n/messages/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'", + "makemessages-nl": "formatjs extract 'src/**/*.{js,jsx}' --format bin/i18n-formatter.js --out-file src/i18n/messages/nl.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'", "makemessages": "npm run makemessages-nl && npm run makemessages-en", "compilemessages": "formatjs compile-folder --ast src/i18n/messages src/i18n/compiled", "build:design-tokens": "npm run build --workspace=design-tokens",