From 924757492e075786ae84f42dbd94c5a931a82a65 Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Mon, 13 Jan 2020 06:48:37 +0900 Subject: [PATCH] Make "npm run fmt(check)" work on Windows (#41) On Windows, single quotes cannot be used for quoting command line. Use double quotes instead. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6c545e6..66eaa57 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "scripts": { "build": "ncc build src/main.ts --minify", "test": "jest", - "fmt": "prettier --write 'src/**/*.ts' '__tests__/**/*.ts'", - "fmtcheck": "prettier --check 'src/**/*.ts' '__tests__/**/*.ts'" + "fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"", + "fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\"" }, "repository": { "type": "git",