From 759a9011dc0a759643cc34b4cf12d45bb36706c3 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 6 Jun 2017 09:24:55 -0700 Subject: [PATCH] add prettier script --- ui/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/package.json b/ui/package.json index 9bd150877..048872f89 100644 --- a/ui/package.json +++ b/ui/package.json @@ -5,7 +5,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "webpack-dev-server --devtool eval --progress --colors --inline", - "precommit": "lint-staged" + "precommit": "lint-staged", + "prettier": "prettier --use-tabs --single-quote --write js/*/*.{js,jsx}" }, "keywords": [ "lbry"