NPM scripts now work on Windows systems

This commit is contained in:
William Gerald Blondel
2021-03-26 02:20:54 -05:00
committed by Umputun
parent e7950fcb22
commit 2238ec88f0
+4 -4
View File
@@ -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"
},