Book Image

Mastering PostCSS for Web Design

By : Alex Libby
Book Image

Mastering PostCSS for Web Design

By: Alex Libby

Overview of this book

PostCSS is a tool that has quickly emerged as the future of existing preprocessors such as SASS and Less, mainly because of its power, speed, and ease of use. This comprehensive guide offers in-depth guidance on incorporating cutting-edge styles into your web page and at the same time maintaining the performance and maintainability of your code. The book will show how you can take advantage of PostCSS to simplify the entire process of stylesheet authoring. It covers various techniques to add dynamic and modern styling features to your web pages. As the book progresses, you will learn how to make CSS code more maintainable by taking advantage of the modular architecture of PostCSS. By the end of this book, you would have mastered the art of adding modern CSS effects to web pages by authoring high performing, maintainable stylesheets.
Table of Contents (21 chapters)
Mastering PostCSS for Web Design
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Making the plugin available for use


A key part of creating any plugin is testing—once tested, we can then decide if we want to release it for general use on GitHub and Node's package manager directory. It's not obligatory, but if we have created something that could be useful to others, then it is only fair that we make it available!

There are a few steps involved in the process—they can be split into three groups: testing the plugin, adding the final details (in GitHub), and submitting it for inclusion on the PostCSS plugin directory. We'll be using the postcss-transition-shortcut plugin that we've just created, as a basis for releasing it for general use.

We've already covered the requirements for testing our plugin, so let's explore the remaining steps needed to make our plugin available for general use by developers. The first step is to publish our plugin to a suitable repository on GitHub. This process falls outside of the scope of this book, but in a nutshell, the process for making...