mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add prettier
This commit is contained in:
+3
-1
@@ -63,7 +63,8 @@
|
|||||||
"electron:before": "yarn electron:before:download-ipfs && yarn electron:before:delete-data",
|
"electron:before": "yarn electron:before:download-ipfs && yarn electron:before:delete-data",
|
||||||
"electron:before:download-ipfs": "node electron/downloadIpfs",
|
"electron:before:download-ipfs": "node electron/downloadIpfs",
|
||||||
"electron:before:delete-data": "rimraf .plebbit",
|
"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'"
|
"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"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
@@ -131,6 +132,7 @@
|
|||||||
"decompress": "4.2.1",
|
"decompress": "4.2.1",
|
||||||
"electron": "19.1.8",
|
"electron": "19.1.8",
|
||||||
"electron-builder": "23.0.9",
|
"electron-builder": "23.0.9",
|
||||||
|
"prettier": "2.3.2",
|
||||||
"source-map-explorer": "2.5.3",
|
"source-map-explorer": "2.5.3",
|
||||||
"typescript": "5.0.2",
|
"typescript": "5.0.2",
|
||||||
"wait-on": "7.0.1"
|
"wait-on": "7.0.1"
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
semi: false,
|
||||||
|
singleQuote: true,
|
||||||
|
printWidth: 170,
|
||||||
|
bracketSpacing: false,
|
||||||
|
}
|
||||||
@@ -12094,6 +12094,11 @@ prepend-http@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
|
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
|
||||||
integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==
|
integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==
|
||||||
|
|
||||||
|
prettier@2.3.2:
|
||||||
|
version "2.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
|
||||||
|
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
|
||||||
|
|
||||||
pretty-bytes@^5.3.0, pretty-bytes@^5.4.1:
|
pretty-bytes@^5.3.0, pretty-bytes@^5.4.1:
|
||||||
version "5.6.0"
|
version "5.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"
|
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"
|
||||||
|
|||||||
Reference in New Issue
Block a user