aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 01:16:45 -0300
committerLibravatar Renard 2019-09-16 01:16:45 -0300
commite21de9c33b9e2c62472ab8ca17a15a7f7cfb5684 (patch)
treeea7c97d70db350116ad55e4d849bc315ce8ef1e2 /package.json
parent8938244653560f22d3e66d1167a4aa9f90d9250e (diff)
downloadbai-client-e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684.tar.gz
bai-client-e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684.tar.xz
bai-client-e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684.zip
prettier setup
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/package.json b/package.json
index 4e19b00..a652b65 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,8 @@
},
"scripts": {
"dev": "parcel src/index.html",
- "build": "parcel build src/index.html"
+ "build": "parcel build src/index.html",
+ "format": "prettier \"src/**/*.{js,css,html}\" --write"
},
"eslintConfig": {
"extends": "react-app"
@@ -38,6 +39,7 @@
]
},
"devDependencies": {
- "parcel-bundler": "^1.12.3"
+ "parcel-bundler": "^1.12.3",
+ "prettier": "^1.18.2"
}
-}
+} \ No newline at end of file