PostCSS Plugin Boilerplate
Сreate new PostCSS plugins in a few steps:
- Clone this repository:
git clone https://github.com/postcss/postcss-plugin-boilerplate.git
- Execute the wizard script. It will ask you a few questions and fill all files with your data.
Call it with
--yarn argument, if you prefer yarn
node ./postcss-plugin-boilerplate/start --yarn
--no-install if you want to skip dependencies installation.
Your plugin repository will now have a clean Git history. Create the GitHub repository and push your project there.
Add your project to Travis CI.
Write some code to
index.jsand tests to
Add input and output CSS examples to
Add options descriptions if your plugin has them.
CHANGELOG.mdwith initial version and release it to npm.
Follow @PostCSS to get the latest updates.