mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
chore(package.json): add prettier git hook to electron folder
This commit is contained in:
+3
-3
@@ -65,7 +65,7 @@
|
||||
"electron:before:download-ipfs": "node electron/download-ipfs",
|
||||
"electron:before:delete-data": "rimraf .plebbit",
|
||||
"android:build:icons": "cordova-res android --skip-config --copy --resources /tmp/plebbit-react-android-icons --icon-source ./android/icons/icon.png --splash-source ./android/icons/splash.png --icon-foreground-source ./android/icons/icon-foreground.png --icon-background-source '#ffffee'",
|
||||
"prettier": "prettier src/**/*.{js,jsx} --write",
|
||||
"prettier": "prettier {src,electron}/**/*.{js,jsx} --write",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
@@ -147,8 +147,8 @@
|
||||
"styled-components": "^5"
|
||||
},
|
||||
"lint-staged": {
|
||||
"{src,test,config}/**/*.{cjs,js,jsx,ts,tsx}": [
|
||||
"prettier --config prettier.config.js --write"
|
||||
"{src,electron}/**/*.{js,jsx}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
|
||||
Reference in New Issue
Block a user