1.0.0 • Published 3 years ago

create-tailwind-plugin v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

Create Tailwind CSS Plugin

Create Tailwind CSS plugin and publish on npm with ease

screenshot

Demo

tailwindcss-plugin-demo is generated with create-tailwind-plugin

Features

Usage

$ npx create-tailwind-plugin

Alternatively, you can also pass following options to avoid prompt questions.

$ npx create-tailwind-plugin --name="Your Plugin Name" --description="Your Plugin Description" --author="Your Name" --github-username="Your Github Username" --initialize-git --install-packages

Options

OptionDescription
--nameUsed in README.md and in package.json as name key
--descriptionUsed in README.md and in package.json as description key
--authorUsed in LICENSE and in package.json as author key
--github-usernameUsed in package.json in repository.url, bugs.url, and homepage keys
--initialize-gitRuns git init && git add --all command in plugin directory
--install-packagesRuns npm install && npm run format --silent command in plugin directory

Next Steps

  • Run npm install and npm run watch commands in your plugin directory
  • Update README.md, index.js and test.js files to match your plugin needs
  • Run npm run release command, when you're ready to publish on npm
  • Learn more about Tailwind CSS plugins in docs

Feel free to open an issue, if you are having a trouble with create-tailwind-plugin. PR's are welcome.

License

Create Tailwind CSS Plugin is licensed under the MIT License.