Make "npm run fmt(check)" work on Windows (#41)

On Windows, single quotes cannot be used for quoting command line.
Use double quotes instead.
This commit is contained in:
K.Takata 2020-01-13 06:48:37 +09:00 committed by Doug Tangren
parent 9993ae8534
commit 924757492e

View File

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