aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
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