From 5e67c8d334493727e0d6dd8a5f93736c415f0ad3 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Thu, 21 Jul 2022 07:27:33 -0700 Subject: [PATCH] :recycle: Npm dependency install can be reduced to one call --- scripts/bgit | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/bgit b/scripts/bgit index 906b85a1..97ebc187 100755 --- a/scripts/bgit +++ b/scripts/bgit @@ -77,8 +77,7 @@ if [ $numrepos -eq 0 ] ; then read -e -r -p "${txtwhite}would you like to make this an npm project?(y/n): ${txtyellow}" confirmnpm if [[ $confirmnpm == "y" || $confirmnpm == "yes" ]] ; then npm init -y - npm install -D nodemon - npm install -D prettier + npm install -D nodemon prettier # creates default .prettierrc echo -e 'trailingComma: "all"\ntabWidth: 4\nsemi: false\nsingleQuote: true\nbracketSpacing: true\narrowParens: "avoid"' > .prettierrc