Copy/paste gulpfile.js and package.json in your jekyll project root.
Exclude these files from jekyll _config.yml adding :
```
exclude:
- package.json
- gulpfile.js
- yarn.lock
- package-lock.json
```
Remember to gitignore node_modules
Install package with yarn or npm:
yarn install
or
npm install
Run minifications with
jekyll build && gulp
or
npm run minify
or
yarn minify