From 0169d3ab6a40e41335a8b2b8d941d48e6d2b20a7 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Sat, 6 May 2017 08:59:21 +0200 Subject: [PATCH] chore: add format command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fcb60d4..72778cf 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "clear": "rm -rf dist/ && mkdir dist/", "lint:staged": "lint-staged", "prepublish": "npm run build", - "test": "xo && flow --show-all-errors" + "test": "xo && flow --show-all-errors", + "format": "prettier --write --single-quote --trailing-comma all --tab-width 4 src/**/*.js" }, "lint-staged": { "*.js": [