mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Add test dependency installation details
This commit is contained in:
parent
0e89a5bbf2
commit
08bb35e7af
@ -26,7 +26,7 @@ This module is powered by the blazingly fast [libvips](https://github.com/jcupit
|
|||||||
|
|
||||||
### Install libvips on Mac OS
|
### Install libvips on Mac OS
|
||||||
|
|
||||||
brew install homebrew/science/vips
|
brew install homebrew/science/vips --with-webp
|
||||||
|
|
||||||
### Install libvips on Ubuntu/Debian Linux
|
### Install libvips on Ubuntu/Debian Linux
|
||||||
|
|
||||||
@ -185,6 +185,13 @@ sharp.cache(50); // { current: 49, high: 115, limit: 50 }
|
|||||||
|
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
|
Running the tests requires both ImageMagick and GraphicsMagick to be installed.
|
||||||
|
|
||||||
|
brew install imagemagick
|
||||||
|
brew install graphicsmagick
|
||||||
|
|
||||||
|
sudo apt-get install imagemagick graphicsmagick
|
||||||
|
|
||||||
## Performance
|
## Performance
|
||||||
|
|
||||||
Test environment:
|
Test environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user