From 95ec0097582c75ff2592a95125371e4427e0c39f Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Thu, 4 Mar 2021 13:12:12 -0500 Subject: [PATCH] Add language catalog compile step before test commands --- awx/ui_next/package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/ui_next/package.json b/awx/ui_next/package.json index 4204fd5769..24371abfc7 100644 --- a/awx/ui_next/package.json +++ b/awx/ui_next/package.json @@ -55,7 +55,11 @@ "react-scripts": "^3.4.4" }, "scripts": { + "prelint": "lingui compile", "prestart": "lingui compile", + "prestart-instrumented": "lingui compile", + "pretest": "lingui compile", + "pretest-watch": "lingui compile", "start": "PORT=3001 HTTPS=true DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts start", "start-instrumented": "DEBUG=instrument-cra PORT=3001 HTTPS=true DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts -r @cypress/instrument-cra start", "build": "INLINE_RUNTIME_CHUNK=false react-scripts build",