Last active
October 12, 2020 12:06
-
-
Save syntholly/60b3d5eb782dfb1085a030d8624afaf0 to your computer and use it in GitHub Desktop.
Create Simple Note Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch .babelrc .env .env.example .gitignore .prettierrc postcss.config.js .eslintrc.json webpack.config.js \ | |
&& mkdir src tests \ | |
&& touch tests/.gitkeep \ | |
&& mkdir src/api src/config src/frontend src/jobs src/models src/services src/subscribers src/loaders \ | |
&& touch src/app.js src/api/index.js src/config/.gitkeep src/loaders/index.js src/subscribers/.gitkeep src/jobs/.gitkeep src/models/.gitkeep src/services/.gitkeep \ | |
&& mkdir src/middlewares src/routes \ | |
&& touch src/middlewares/index.js src/routes/index.js \ | |
&& mkdir src/frontend/assets \ | |
&& mkdir src/frontend/assets/scss src/frontend/assets/js src/frontend/assets/static \ | |
&& touch src/frontend/assets/scss/.gitkeep src/frontend/assets/js/.gitkeep \ | |
&& mkdir src/frontend/assets/static/image src/frontend/assets/static/svg src/frontend/assets/static/font \ | |
&& touch src/frontend/assets/static/image/.gitkeep src/frontend/assets/static/svg/.gitkeep src/frontend/assets/static/font/.gitkeep \ | |
&& cd src/frontend/assets/ \ | |
&& cd scss \ | |
&& mkdir -p settings tools generic elements objects components utilities \ | |
&& cd components && touch _components.scss && echo "/** Main Components Loader */\n" > _components.scss && cd .. \ | |
&& cd elements && touch _elements.scss && echo "/** Main Elements Loader */\n" > _elements.scss && cd .. \ | |
&& cd generic && touch _generic.scss && echo "/** Main Generic Loader */\n" > _generic.scss && cd .. \ | |
&& cd objects && touch _objects.scss && echo "/** Main Objects Loader */\n" > _objects.scss && cd .. \ | |
&& cd settings && touch _settings.scss && echo "/** Main Settings Loader */\n" > _settings.scss && cd .. \ | |
&& cd tools && touch _tools.scss && echo "/** Main Tools Loader */\n" > _tools.scss && cd .. \ | |
&& cd utilities && touch _utilities.scss && echo "/** Main Utilities Loader */\n" > _utilities.scss && cd .. \ | |
&& echo "/** Main SCSS Loader */\n\n@import 'settings/_settings.scss';\n@import 'tools/_tools.scss';\n@import 'generic/_generic.scss';\n@import 'elements/_elements.scss';\n@import 'objects/_objects.scss';\n@import 'components/_components.scss';" > main.scss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment