Coder Social home page Coder Social logo

dermatz / woodoo-buildtools Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 121 KB

Modern Gulp Workflow

Home Page: https://www.dermatz.de/woodoo-buildtools-der-gulp-frontend-workflow/

License: Open Software License 3.0

JavaScript 100.00%
gulp frontend workflow node scss css js javascript buildtool

woodoo-buildtools's Introduction

contributions welcome

DerMatz on Twitter

Woodoo Frontend Buildtool 2.7.0

Woodoo Buildtool is a standalone gulp workflow with all modern gulp dependencies to build and create your frontend assets in few moments. Woodoo Buildtool come with a config file to add your project specific pathes and variables (gulp.config.js).

Read more about it in the Getting Started section below this part.

Current Features

Read CHANGELOG for further Information about the latest Version

  • Automatic Setup Process via npx woodoo-buildtools
  • Automatic merge of your Project package.json with gulp update_json or npm run woodoo-init
  • Gulp 4.x
  • Sass 4 Support
  • BabelJS 7 Support with excluded node_modules
  • CSS Minify & Sourcemaps
  • CSS Gulp-Autoprefixer
  • SCSS Linter (Show SCSS Errors based on .sass-lint.yml)
  • JS Linter (Show JS-Errors based on .eslintrc)
  • JS concatinate 3 JS files at the time (Head-js, Lib's and Footer-JS)
  • JS Minification (*.min.js)
  • Browser-Sync (Multi-Device Livepreview)
  • Image-Optimisation (jpg, png, svg)

Getting Started with full automatic NPM Setup

In this case the Buildtool setup will create and install all necessary files.

This might take only a few seconds


# 1— Navigate into your Project/Theme and run:

npx woodoo-buildtools

# 2— Now configure variables inside the woodoo-buildtools/gulp.config.js file
# 3— Finish the Setup with:

npm run woodoo-init

Just follow the install instructions.


Update Woodoo-Buildtools

To update just run

     npm run woodoo-update

Just a tip: Get a perfect folder structure

To get best results you can get this sample-project structure.

../YourTheme/
  |
  ├── dist (will be automaticly create by running the default gulp-task ($ gulp) depending of your entries in gulp_config.json)
  |    ├── css
  |    |    ├── main.css
  |    |    └── main.css.map (will be autogenerated)
  |    ├── js
  |    |    └── main.min.js
  |    └── images
  |         ├── image.svg (minified)
  |         ├── image-one.jpg (minified)
  |         └── image-two.jpg (minified)
  └── assets
       ├── images
       |    ├── image.svg
       |    ├── image-one.jpg
       |    └── image-two.jpg
       |
       ├── js
       |    ├── lib
       |    |     ├── my-script.js
       |    |     └── my-script2.js
       |    ├── head
       |    |     ├── my-script.js
       |    |     └── my-script2.js
       |    ├── footer
       |    |     ├── my-script.js
       |    |     └── my-script2.js
       └── scss
            └── project.scss

Issue-Reporting

Feel free to report issues or add pull-requests. Thanks for your support!

Thanks goes to

License

This project is licensed under the Open Software License 3.0. Read more

Copyright

(c) 2018 - 2019 Mathias Elle

woodoo-buildtools's People

Contributors

danielruf avatar dermatz avatar therouv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.