From 0894c77b6c204796f76300f07a10e55e22e75081 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 9 Apr 2024 10:03:09 -0400 Subject: [PATCH] Adding generate translations to pnpm dev task. (#2410) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 55f0b7c3..cdf5c8bc 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build:dev": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=development", "build:prod": "webpack --env COMMIT_HASH=$(git rev-parse --short HEAD) --mode=production", "clean": "pnpm rimraf dist", - "dev": "pnpm build:dev --watch", + "dev": "node generate_translations.js && pnpm build:dev --watch", "lint": "pnpm translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"", "prebuild:dev": "pnpm clean && node generate_translations.js", "prebuild:prod": "pnpm clean && node generate_translations.js",