Woodoo Frontend Buildtool 2.7.0
- Author: Mathias Elle
- E-Mail: hello@dermatz.de
- Website: https://www.dermatz.de
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
ornpm 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
- Daniel Ruf for contribution with Pull-Requests
- Inspiration for the installation process by https://github.com/ahmadawais
License
This project is licensed under the Open Software License 3.0. Read more
Copyright
(c) 2018 - 2019 Mathias Elle