Update prettier script. (#16324)

* Update prettier script.

* Add target and component-spec to prettierignore.
This commit is contained in:
Rahul Pratap 2023-06-20 19:50:27 +05:30 committed by GitHub
parent b397411daa
commit bb7ff3239d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -5,3 +5,5 @@
*.shadow-cljs
modules
result
target
component-spec

View File

@ -11,7 +11,7 @@
"app:watch": "shadow-cljs watch android",
"app:packager": "react-native start --host 0.0.0.0 --port 8081",
"app:android": "react-native run-android",
"prettier": "prettier --write ."
"prettier": "node_modules/.bin/prettier --write ."
},
"dependencies": {
"@babel/preset-typescript": "^7.17.12",