You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.6 KiB

7 months ago
7 months ago
  1. # gulpfile-setup
  2. package.json:
  3. ```json
  4. {
  5. "dependencies": {
  6. "@babel/plugin-transform-modules-commonjs": "^7.23.3",
  7. "axios": "^1.6.7",
  8. "concat": "^1.0.3",
  9. "del": "^7.1.0",
  10. "fs": "^0.0.1-security",
  11. "fs-extra": "^11.2.0",
  12. "get-google-fonts": "^1.2.2",
  13. "gulp": ">=4",
  14. "gulp-autoprefixer": "^9.0.0",
  15. "gulp-clean-css": "^4.3.0",
  16. "gulp-concat": "^2.6.1",
  17. "gulp-ignore-errors": "^0.0.4",
  18. "gulp-imagemin": "^9.0.0",
  19. "gulp-plugin-extras": "^0.3.0",
  20. "gulp-sass": "^5.1.0",
  21. "gulp-sharp-responsive": "^0.4.1",
  22. "imagemin": "^8.0.1",
  23. "imagemin-gifsicle": "^7.0.0",
  24. "imagemin-mozjpeg": "^10.0.0",
  25. "imagemin-optipng": "^8.0.0",
  26. "imagemin-svgo": "^10.0.1",
  27. "imagemin-webp": "^8.0.0",
  28. "path": "^0.12.7",
  29. "plugin-error": "^2.0.1",
  30. "pretty-bytes": "^6.1.1",
  31. "sass": "^1.71.1",
  32. "scss-framework": "file:../packages/sumedia-webdesign/scss-framework",
  33. "sharp": "^0.33.2",
  34. "vinyl-buffer": "^1.0.1",
  35. "vinyl-source-stream": "^2.0.0",
  36. "yargs": "^17.7.2"
  37. },
  38. "peerDependencies": {
  39. "gulp": ">=4"
  40. },
  41. "peerDependenciesMeta": {
  42. "gulp": {
  43. "optional": true
  44. }
  45. },
  46. "scripts": {
  47. "clean": "gulp --cwd . --gulpfile gulp/clean.mjs",
  48. "build": "gulp --cwd . --gulpfile gulp/build.mjs",
  49. "watch": "gulp --cwd . --gulpfile gulp/watch.mjs"
  50. },
  51. "compilerOptions": {
  52. "type": "module",
  53. "module": "es6",
  54. "target": "es6",
  55. "esModuleInterop": true,
  56. "lib": [
  57. "es6",
  58. "es5",
  59. "es7",
  60. "dom"
  61. ]
  62. },
  63. "exclude": [
  64. "node_modules"
  65. ]
  66. }
  67. ```