postcss/postcss-plugin-boilerplate

Name: postcss-plugin-boilerplate

Owner: PostCSS

Description: PostCSS Plugin Boilerplate

Created: 2015-02-10 07:06:08.0

Updated: 2018-05-12 14:20:06.0

Pushed: 2018-03-09 00:36:23.0

Homepage: null

Size: 53

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

PostCSS Plugin Boilerplate

<img align=“right” width=“135” height=“95”

 title="Philosopher?s stone, logo of PostCSS"
 src="http://postcss.github.io/postcss/logo-leftp.svg">

?reate new PostCSS plugins in a few steps:

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

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

 ./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 README.md.

  6. Add options descriptions if your plugin has them.

  7. Fill CHANGELOG.md 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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.