From 2238ec88f0be62c9d7e5dfb35d5f42d795e2ff8f Mon Sep 17 00:00:00 2001 From: William Gerald Blondel Date: Thu, 25 Mar 2021 23:06:34 +0100 Subject: [PATCH] NPM scripts now work on Windows systems --- frontend/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 20c17021..ea34f877 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -13,11 +13,11 @@ "check": "cross-env NODE_ENV=production run-s build && run-p check:*", "check:types": "tsc -p tsconfig.json --noEmit", "check:translation": "run-s translation:extract translation:check", - "lint:eslint": "eslint --max-warnings=0 '**/*.{ts?(x),js}'", - "lint:stylelint": "stylelint 'app/**/*.css' 'templates/**'", + "lint:eslint": "eslint --max-warnings=0 \"**/*.{ts?(x),js}\"", + "lint:stylelint": "stylelint \"app/**/*.css\" \"templates/**\"", "size": "cross-env NODE_ENV=production npm run build && size-limit", - "prettier": "prettier --write './**/*.{js,ts,tsx,css,html}'", - "translation:extract": "formatjs extract --out-file=./extracted-messages/messages.json '**/!(*.d).ts?(x)'", + "prettier": "prettier --write \"./**/*.{js,ts,tsx,css,html}\"", + "translation:extract": "formatjs extract --out-file=./extracted-messages/messages.json \"**/!(*.d).ts?(x)\"", "translation:generate": "node ./tasks/generateDictionary.js", "translation:check": "node ./tasks/checkTranslation.js" },