CHGenerator/install.sh

20 lines
538 B
Bash
Raw Normal View History

2022-09-08 13:01:45 +02:00
#!/bin/bash
# Install the required dependencies for CHGenerator
# Install magick to resize images
brew install imagemagick
# Install avif to create AVIF versions of images
npm install avif -g
2022-12-10 22:28:39 +01:00
# Install the Javascript minifier (required if `minifyJavaScript = True`)
2022-09-08 13:01:45 +02:00
# https://github.com/mishoo/UglifyJS
npm install uglify-js -g
2022-12-10 22:28:39 +01:00
# Install the clean-css minifier (required if `minifyCSS = True`)
2022-09-08 13:01:45 +02:00
# https://github.com/clean-css/clean-css-cli
npm install clean-css-cli -g
2022-12-01 15:19:41 +01:00
# Required to optimize jpg/png/svg
npm install imageoptim-cli -g