From 90513941bc621f999c8dd821780117d2c58f3f73 Mon Sep 17 00:00:00 2001 From: Ased Mammad Date: Sat, 9 Mar 2024 03:40:32 +0330 Subject: [PATCH] feat: add i18n:parser script to package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 56889c8b5..8fb01a63e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "lint:types": "npm run check", "lint:backend": "pylint backend/", "format": "prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'", - "format:backend": "yapf --recursive backend -p -i" + "format:backend": "yapf --recursive backend -p -i", + "i18n:parser": "i18next --config i18next-parser.config.ts && prettier --write 'src/lib/i18n/**/*.{js,json}'" }, "devDependencies": { "@sveltejs/adapter-auto": "^2.0.0",