yarn prettier and format won't run while the expression was encapsulated in ''
This commit is contained in:
parent
0a858b183e
commit
f6dbfacdd8
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@
|
|||
"typecheck": "tsc --noEmit",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint --config .eslintrc.js",
|
||||
"prettier": "prettier --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'",
|
||||
"format": "prettier -w --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'",
|
||||
"prettier": "prettier --config .prettierrc.js {data,src}/**/*.{json,ts,tsx}",
|
||||
"format": "prettier -w --config .prettierrc.js {data,src}/**/*.{json,ts,tsx}",
|
||||
"http-server:data": "http-server ./ -c-1",
|
||||
"http-server:app": "http-server ./build --proxy http://localhost:8080 --port 3000",
|
||||
"serve:production": "npm-run-all --parallel http-server:data http-server:app"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue