gulp-gold 🔧, npm link
custom Gulp pack
Used latest tools: Gulp, Babel, Webpack, PostCSS, Prettier
- Styles - stylelint -> postCSS(postcss-import, postcss-url, postcss-preset-env(autoprefixed&cssnext), cssnano)
- Scripts - eslint -> webpack(babel-preset-env) -> prettier
- Images - imagemin
- Browsersync
- Errors output improved by plumber
- I hope You will enjoy it :)
npm install --legacy-peer-deps"--legacy-peer-deps" is required because of Stylelint, it'll be resolved later
This project uses Gulp v.4 so we should have gulp-cli or npx (goes with NPM v5.3.0+) installed globally to use npm scripts using local Gulp:
npm install -g gulp-clinpm run buildjust build withNODE_ENV=productionnpm run devornpm startserving fromsrcnpm run prodserving fromdistnpm run lintnpm run format
requires
gulp-clito be installed globally
gulp serveclean->lint->build->browsersync->watch insrcgulpclean->lint->buildgulp lintStylesgulp lintScripts- other tasks you can find in the gulpfile