From b54ad4dbb6862f1e0f56f79b98720922a4b01cfc Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Thu, 21 Jul 2022 11:04:17 -0700 Subject: [PATCH] :sparkles: Added default index.html, index.js, and styles.css --- scripts/bgit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/bgit b/scripts/bgit index 42626c86..3dd3d034 100755 --- a/scripts/bgit +++ b/scripts/bgit @@ -83,11 +83,11 @@ if [ $numrepos -eq 0 ] ; then echo -e 'trailingComma: "all"\ntabWidth: 4\nsemi: false\nsingleQuote: true\nbracketSpacing: true\narrowParens: "avoid"' > .prettierrc # replace touch commands here with echo later on... - touch index.html + echo -e '\n\n \n \n \n My Website\n \n \n \n

Header 1

\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

\n \n \n' > index.html mkdir scripts - mkdir styles - touch scripts/index.js - touch styles/styles.css + mkdir css + echo 'console.log("Hello World!");' > scripts/index.js + echo -e '* {\n font-family: monospace;\n text-align: center;\n background-color: #dedede;\n}' > css/styles.css sed 's/1"/1",/' package.json > package2.json && sed -i '/no test/a\ \ \ \ "start":\ "nodemon\ scripts/index.js"' package2.json && mv package2.json package.json break else