Skip to content

TimoWestland/postcss-plugin-boilerplate

 
 

Repository files navigation

PostCSS Plugin Boilerplate

Сreate new PostCSS plugins in a few steps:

  1. Clone this repository:

git clone https://github.com/postcss/postcss-plugin-boilerplate.git


2. Execute the wizard script. It will ask you a few questions
and fill all files with your data.

 ```sh
node ./postcss-plugin-boilerplate/start
 ```

3. Your plugin repository will now have a clean Git history.
[Create the GitHub repository](https://github.com/new)
and push your project there.

4. Add your project to [Travis CI](https://travis-ci.org).

5. Write some code to `index.js` and tests to `test.js`.

6. Execute `npm test` command

7. Add input and output CSS examples to `README.md`.

8. Add options descriptions if your plugin has them.

9. Fill `CHANGELOG.md` with initial version and release it to npm.

10. Fork [PostCSS](https://github.com/postcss/postcss), add your plugin to
 [Plugins section](https://github.com/postcss/postcss/blob/master/docs/plugins.md)
 in `README.md`, and send a pull request.

11. Follow [@PostCSS](https://twitter.com/postcss) to get the latest updates.

About

PostCSS Plugin Boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%