Skip to content

Commit

Permalink
Merge pull request phntxx#67 from dkarter/fix-prettier-script
Browse files Browse the repository at this point in the history
Add `yarn format` script (`yarn prettier` was not writing formatted version)
  • Loading branch information
phntxx authored Apr 11, 2022
2 parents 13ffb59 + ca36fef commit 3a17646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"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}'",
"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"
Expand Down

0 comments on commit 3a17646

Please sign in to comment.