From 8fd850c9aa1da9ede5c0f1b906567cb1a8486e00 Mon Sep 17 00:00:00 2001 From: Nevo Date: Fri, 14 Jun 2019 10:11:36 +0300 Subject: [PATCH] chore: add prettier fix script to npm --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6311e7e..01107bc 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "build": "tsc --module commonjs && rollup -c rollup.config.js", "prebuild": "rimraf dist", "prepublishOnly": "npm run build", - "release": "release-it" + "release": "release-it", + "prettier:fix": "prettier src/**/*.ts --config=.prettierrc --write" }, "husky": { "hooks": {