Grunt plugin talk - SeattleJS Lightning Talks

678 views

Published on

A quick talk about how to start building your grunt plugin and how to publish your grunt plugin.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Grunt plugin talk - SeattleJS Lightning Talks

  1. 1. Jeff Lembeck @jefflembeck Filament Group Wednesday, December 11, 13
  2. 2. How Do I Build and Publish My Grunt Plugin? Jeff Lembeck @jefflembeck Filament Group Wednesday, December 11, 13
  3. 3. Background Wednesday, December 11, 13
  4. 4. Background Wednesday, December 11, 13
  5. 5. Wednesday, December 11, 13
  6. 6. Wednesday, December 11, 13
  7. 7. Wednesday, December 11, 13
  8. 8. Idea! Wednesday, December 11, 13
  9. 9. Wednesday, December 11, 13
  10. 10. Wednesday, December 11, 13
  11. 11. Wednesday, December 11, 13
  12. 12. Wednesday, December 11, 13
  13. 13. Building That Grunt Plugin Wednesday, December 11, 13
  14. 14. Scaffolding Wednesday, December 11, 13
  15. 15. Wednesday, December 11, 13
  16. 16. Grunt-init Wednesday, December 11, 13
  17. 17. Wednesday, December 11, 13
  18. 18. $ npm install -g grunt-init Wednesday, December 11, 13
  19. 19. Wednesday, December 11, 13
  20. 20. $ mkdir ~/.grunt-init Wednesday, December 11, 13
  21. 21. Wednesday, December 11, 13
  22. 22. $ git clone https://github.com/ gruntjs/grunt-init-gruntplugin.git ~/.grunt-init/gruntplugin Wednesday, December 11, 13
  23. 23. $ mkdir ~/grunt-pngcrush $ cd !$ $ grunt-init gruntplugin Wednesday, December 11, 13
  24. 24. Wednesday, December 11, 13
  25. 25. $ npm install $ grunt Wednesday, December 11, 13
  26. 26. Wednesday, December 11, 13
  27. 27. Git! Wednesday, December 11, 13
  28. 28. $ git init $ git add .gitignore $ git commit -m “Initial Commit” $ git add --all $ git commit -m “Scaffolding” Wednesday, December 11, 13
  29. 29. Testing Wednesday, December 11, 13
  30. 30. TATFT Wednesday, December 11, 13
  31. 31. Wednesday, December 11, 13
  32. 32. Test Your Installation Wednesday, December 11, 13
  33. 33. $ mkdir testing $ cd !$ $ npm install ../grunt-pngcrush Wednesday, December 11, 13
  34. 34. Publishing Wednesday, December 11, 13
  35. 35. Wednesday, December 11, 13
  36. 36. $ npm adduser Wednesday, December 11, 13
  37. 37. Wednesday, December 11, 13
  38. 38. $ npm publish Wednesday, December 11, 13
  39. 39. You Are FAMOUS! Wednesday, December 11, 13
  40. 40. Wednesday, December 11, 13
  41. 41. Thanks! Wednesday, December 11, 13

×