From 3bf6a0ce99ae88793ec69faad4e3119bf4f38603 Mon Sep 17 00:00:00 2001 From: cong Date: Sat, 27 Mar 2021 10:34:01 +0800 Subject: [PATCH] quote the globs in npm scripts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0bf7e2c6..d93248c8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "build-postgresql-client": "dotenv prisma generate -- --schema=./prisma/schema.postgresql.prisma", "copy-db-schema": "node scripts/copy-db-schema.js", "generate-lang": "npm-run-all extract-lang merge-lang", - "extract-lang": "formatjs extract {pages,components}/**/*.js --out-file build/messages.json", + "extract-lang": "formatjs extract '{pages,components}/**/*.js' --out-file build/messages.json", "merge-lang": "node scripts/merge-lang.js", "format-lang": "node scripts/format-lang.js", "compile-lang": "formatjs compile-folder --ast build lang-compiled",