SGC – Gulp CLI

The SGC is the heart of our development environment. The command line interface provides a central point where all tasks relevant for the development can be executed. The SGC contains a complete Node.js and Gulp 4 based build process, as well as a development and test environment that is specially tailored for use in TYPO3 projects. However, with minor configuration changes, it can also be adapted for other systems. Thanks to a modular system, the SGC can easily be extended with shell scripts and its own tasks.

A comparison of the editions

Features

Basic version

Enterprise version

Free of charge

from 99,99 €

Easy to install

Styles / SCSS

JavaScript

Development Environment

"Above the Fold" configuration

Picture Optimisation

Extensibility

The Features

Easy to install

Thanks to the included installer, setting up the development environment is easy. The installation script automatically determines the required Node.js version and installs it at the same time. Thanks to the use of the Node Version Manager, different versions of the SGC can be run on the same system in parallel without any problems. A separate installation of Node.js or Gulp is not necessary. You can choose between a global and a local installation of the sgc command.

The SGC currently supports installation and use on Linux and OSX systems.

Extensibility

With the help of the built-in plugin system the SGC can easily be extended with your own commands. For this purpose a shell script is simply stored in the sgc-scripts folder. Custom tasks can then be started with the command

sgc <scriptName>


can be executed in this way. In this way, you can integrate your own deployment or update processes, for example.

Styles / SCSS

  • Compiling Sass Files in CSS
  • Automatic addition of vendor prefixes
  • Included sprite engine for pixel-based icons
  • Inline SVG engine for automatic integration of SVG icons as background image
  • Image-Dimensions plugin which allows using image-width and image-height functions in CSS
  • Integrated solution for generating "above the fold" inline CSS
  • Minify CSS files

JavaScript

  • Support of a workflow focusing on writing modular JavaScript using Browserify and CommonJS syntax
  • Permanent, formal quality control already during the development, by means of a JavaScript Linters (JSHint)

Development Environment

  • Tasks for lossless image optimization
  • Synchronized testing of websites on different browsers and devices (using browser sync)
  • Automatisches Injizieren von Änderungen in CSS- und JavaScript-Dateien
  • Direct references to pre-compiled source files in browser devtools (using SourceMaps)

Roadmap & License

The SGC is constantly being further developed and improved. Are you missing a feature, or do you have suggestions for improvement? - You are welcome to contaktus or create an Issue in our bugtracker.

The following features are already planned for the upcoming versions:

  • Integration of a solid infrastructure for unit and integration tests
  • Improving interoperability
  • Optimization of general performance
  • and much more

To the manual

Commercial usage

The usage of this software for commercial projects, requires the payment of a small fee. The available version on NPM is an old state. You can find the latest release on our shop (https://shop.sgalinski.de). We will maybe backport some features from time to time. Details about the commercial licence can be found here:

License Details

WITH License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.