From e21de9c33b9e2c62472ab8ca17a15a7f7cfb5684 Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 01:16:45 -0300 Subject: prettier setup --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'package.json') 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 -- cgit v1.2.1-18-gbd029