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": {
|
"scripts": {
|
||||||
"build": "ncc build src/main.ts --minify",
|
"build": "ncc build src/main.ts --minify",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"fmt": "prettier --write 'src/**/*.ts' '__tests__/**/*.ts'",
|
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
|
||||||
"fmtcheck": "prettier --check 'src/**/*.ts' '__tests__/**/*.ts'"
|
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\""
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user