PostCSS Plugin Boilerplate
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

PostCSS Plugin Boilerplate

Сreate new PostCSS plugins in a few steps:

  1. Clone this repository:
git clone
  1. Execute the wizard script. It will ask you a few questions and fill all files with your data.
node ./postcss-plugin-boilerplate/start

Call it with --yarn argument, if you prefer yarn package manager:

node ./postcss-plugin-boilerplate/start --yarn

Or use --no-install if you want to skip dependencies installation.

  1. Your plugin repository will now have a clean Git history. Create the GitHub repository and push your project there.

  2. Add your project to Travis CI.

  3. Write some code to index.js and tests to index.test.js.

  4. Execute npm test command

  5. Add input and output CSS examples to

  6. Add options descriptions if your plugin has them.

  7. Fill with initial version and release it to npm.

  8. Fork PostCSS, add your plugin to the Plugins list and send a pull request.

  9. Follow @PostCSS to get the latest updates.