HTML JavaScript CSS Shell PHP Vue
Latest commit 300bc7a Mar 30, 2018
Permalink
Failed to load latest commit information.
__tests__ Remove Craft CMS Jan 9, 2018
generators Fix Bug Lazyloading Mar 30, 2018
.editorconfig Update Editorconfig + Stylelint Feb 1, 2018
.eslintignore Init Jun 29, 2017
.eslintrc Remove prettier Feb 8, 2018
.gitattributes Init Jun 29, 2017
.gitignore Init Jun 29, 2017
.jshintrc Init Jun 29, 2017
.nvmrc Add nvmrc Jan 14, 2018
.stylelintrc Update Editorconfig + Stylelint Feb 1, 2018
.travis.yml Hm Jan 14, 2018
README.md Update RD Feb 1, 2018
baukasten.png Logo Jul 3, 2017
baukasten.sketch Logo Jul 3, 2017
jestSetup.js Init Jun 29, 2017
package-lock.json Update to 3.0 Dec 5, 2017
package.json v3.2.30 Mar 30, 2018
yarn.lock Update Dependencies Sep 30, 2017

README.md

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