Add language catalog compile step before test commands

This commit is contained in:
Jake McDermott 2021-03-04 13:12:12 -05:00
parent 55b948bf39
commit 95ec009758
No known key found for this signature in database
GPG Key ID: 0E56ED990CDFCB4F

View File

@ -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",