Make "format" independent from "prettier"
This commit is contained in:
parent
9ee3bc6d94
commit
ca36fef54c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"lint": "eslint --config .eslintrc.js",
|
"lint": "eslint --config .eslintrc.js",
|
||||||
"prettier": "prettier --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'",
|
"prettier": "prettier --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'",
|
||||||
"format": "yarn prettier -w",
|
"format": "prettier -w --config .prettierrc.js '{data,src}/**/*.{json,ts,tsx}'",
|
||||||
"http-server:data": "http-server ./ -c-1",
|
"http-server:data": "http-server ./ -c-1",
|
||||||
"http-server:app": "http-server ./build --proxy http://localhost:8080 --port 3000",
|
"http-server:app": "http-server ./build --proxy http://localhost:8080 --port 3000",
|
||||||
"serve:production": "npm-run-all --parallel http-server:data http-server:app"
|
"serve:production": "npm-run-all --parallel http-server:data http-server:app"
|
||||||
|
|
Loading…
Reference in a new issue