gulp插件选择

使用的插件

无依赖的

  1. "devDependencies": {
  2. "apache-server-configs": "^2.7.1",
  3. "connect": "^3.0.1",
  4. "connect-livereload": "^0.4.0",
  5. "del": "^0.1.0",
  6. "gulp": "^3.6.0",
  7. "gulp-autoprefixer": "^0.0.7",
  8. "gulp-cache": "^0.2.2",
  9. "gulp-csso": "^0.2.6",
  10. "gulp-filter": "^0.5.0",
  11. "gulp-flatten": "^0.0.2",
  12. "gulp-if": "^1.2.1",
  13. "gulp-imagemin": "^0.6.0",
  14. "gulp-jshint": "^1.5.3",
  15. "gulp-livereload": "^2.0.0",
  16. "gulp-load-plugins": "^0.5.0",<% if (includeSass) { if (includeBootstrap) { %>
  17. "gulp-replace": "^0.3.0",<% } %>
  18. "gulp-ruby-sass": "^0.5.0",
  19. "gulp-plumber": "^0.6.3",<% } %>
  20. "gulp-size": "^0.4.0",
  21. "gulp-uglify": "^0.3.0",
  22. "gulp-useref": "^0.6.0",
  23. "jshint-stylish": "^0.2.0",<% if (includeBootstrap && includeSass) { %>
  24. "lazypipe": "^0.2.1",<% } %>
  25. "main-bower-files": "^1.0.1",
  26. "opn": "^0.1.1",
  27. "serve-index": "^1.1.4",
  28. "serve-static": "^1.4.0",
  29. "wiredep": "^1.4.3"
  30. }

web-starter-kit-master

  1. "devDependencies": {
  2. "apache-server-configs": "^2.7.1",
  3. "browser-sync": "^1.3.0",
  4. "del": "^0.1.2",
  5. "gulp": "^3.8.5",
  6. "gulp-autoprefixer": "^0.0.8",
  7. "gulp-cache": "^0.2.2",
  8. "gulp-changed": "^1.0.0",
  9. "gulp-csso": "^0.2.9",
  10. "gulp-flatten": "^0.0.2",
  11. "gulp-if": "^1.2.1",
  12. "gulp-imagemin": "^1.0.0",
  13. "gulp-jshint": "^1.6.3",
  14. "gulp-load-plugins": "^0.5.3",
  15. "gulp-minify-html": "^0.1.4",
  16. "gulp-replace": "^0.4.0",
  17. "gulp-ruby-sass": "^0.7.1",
  18. "gulp-size": "^1.0.0",
  19. "gulp-uglify": "^0.3.1",
  20. "gulp-uncss": "^0.4.5",
  21. "gulp-useref": "^0.6.0",
  22. "jshint-stylish": "^0.4.0",
  23. "opn": "^1.0.0",
  24. "psi": "^0.1.2",
  25. "require-dir": "^0.1.0",
  26. "run-sequence": "^0.3.6"
  27. }

原文: https://leohxj.gitbooks.io/front-end-database/content/frontend-workflow/gulp-plugins.html