Make "format" independent from "prettier"

This commit is contained in:
phntxx 2022-04-11 19:13:43 +02:00
parent 9ee3bc6d94
commit ca36fef54c

View file

@ -37,7 +37,7 @@
"eject": "react-scripts eject",
"lint": "eslint --config .eslintrc.js",
"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:app": "http-server ./build --proxy http://localhost:8080 --port 3000",
"serve:production": "npm-run-all --parallel http-server:data http-server:app"