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:
parent
9993ae8534
commit
924757492e
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user