Skip to content

almeric/generator-baukasten

 
 

Repository files navigation

Baukasten

Build Status bitHound Overall Score bitHound Code bitHound Dependencies

Baukasten

   baukasten made with love & help.
   ---------------------------------------
   Author   :   David Hellmann
   Website  :   https://davidhellmann.com
   Github   :   https://github.com/davidhellmann/generator-baukasten

Install baukasten

npm i generator-baukasten -g

Start Generator

// Go to your project directory and do that
yo baukasten

Intro

It's just a little 'Baukasten' or Boilerplate for your next Craft CMS or Prototyping Project. WordPress is also on Board but has not the priority as the other ones. Most of the stuff fits for my own requirements and maybe you have the same you can have a lot of fun with it. Give it a try.

IMPORTANT NOTE

Actually the WordPress Version has no Focus. Craft CMS + Prototyping have priority! But you can use it, no problem.

Big thanks to Sascha Fuchs and his Kittn for a lot of help and inspiration. Also big thanks to Martin Herweg and his YO Generator that help me a lot too. And last but not least thanks to all members from our Slack Channel webdevs — feel free to join us.

What's inside? A lot! :-)

This three scenarios are covered by the generator:

  • Craft CMS — Up to Date
  • WordPress — No up to date but a good startpoint

Settings

You can find this stuff here: ___src/assets/css/_______settings

Sass Functions

You can find this stuff here: ___src/assets/css/______tools

Sass Mixins

You can find this stuff here: ___src/assets/css/_______settings

Install NPM Packages

npm install // yarn install

Initialize Project

npm run start OR yarn start

Default Task with BrowserSync

npm run dev OR yarn dev

Task for Building

This Task clean the folder, build the stuff from ground up and optimize the images and minifiy JS / CSS files. Ready for live!

npm run build OR yarn build

Other Tasks

There are some other Tasks there…

// NPM RUN / YARN COMMANDS
npm start
npm dev
npm dev:single
npm build
npm module
npm critical
npm clean:dist
npm clean:templates
npm clean:images
npm clean:js
npm clean:css
npm copy:fonts
npm copy:images
npm copy:svg
npm copy:svg-single
npm create:svg-sprite
npm copy:systemFiles
npm compile:templates
npm create:favicons
npm create:inlineJS
npm webpack
npm webpack:analyze
// Clean Tasks
// Clean the specific folder in the "___dist" dir
npm clean:templates
npm clean:css
npm clean:js
npm clean:images
// Main Tasks
// All this are triggered within "gulp init" & "gulp build" task.
// Some of this are triggered within the "gulp" task.
npm compile:templates
npm create:inlineJS,
npm copy:systemFiles
npm copy:fonts
npm copy:images
npm copy:svg-single
npm create:svg-sprite
// Minify Tasks
// This task are triggered within the "guld build" task.
gulp minify:images

Thanks to

  • webdevs - for so many things: Website
  • Sascha Fuchs - for help help help: Website
  • Martin Herweg - for help help help: Website
  • CSS Tricks - for Easing Map: Website
  • Florian Kutschera - for the Material Design Box Shadows: Website
  • Hugo Giraudel & Eduardo Bouças - for include media: Website
  • @LukyVj - for family.scss: Website
  • inuitcss - for some snippets and inspiration: website

Packages

No packages published

Languages

  • HTML 56.4%
  • JavaScript 23.3%
  • CSS 9.6%
  • Shell 5.5%
  • PHP 4.9%
  • Hack 0.2%
  • Vue 0.1%