node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

gulp-gold

gulp-gold 🔧, npm link

GitHub license GitHub release dependencies Status Known Vulnerabilities

custom Gulp pack

TL;DR

Used latest tools: Gulp, Babel, Webpack, PostCSS

Installing

  • You must have nodejs (includes npm) installed
$ sudo
$ npm i

This project uses Gulp4 so we should have gulp-cli or npx (goes with npm v5.3.0+) installed globally to use npm scripts using local gulp:

$ npm i -g gulp-cli

Usage

npm scripts (using local gulp)

  • npm run build just build with NODE_ENV=production
  • npm run dev or npm start serving from src
  • npm run prod serving from dist
  • npm run lintStyles
  • npm run lintScripts

gulp tasks (require gulp-cli installed globally)

  • gulp serve clean->lint->build->browsersync->watch in src
  • gulp clean->lint->build
  • gulp lintStyles
  • gulp lintScripts
  • other tasks you can find in the gulpfile

Optional

MIT License