File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ This is an adapter module for using [smartcrop.js](https://github.com/jwagner/sm
6
6
with node.js using [ sharp] ( https://github.com/lovell/sharp ) for image decoding.
7
7
8
8
## Installation
9
+
10
+ You'll need to install ` sharp ` alongside ` smartcrop-sharp ` .
11
+
9
12
```
10
- npm install --save smartcrop-sharp
13
+ npm install --save smartcrop-sharp sharp
11
14
```
12
15
13
16
## API
Original file line number Diff line number Diff line change 9
9
"author" :
" Jonas Wagner <[email protected] >" ,
10
10
"license" : " MIT" ,
11
11
"dependencies" : {
12
- "sharp" : " ^0.16.0" ,
13
12
"smartcrop" : " ^1.1.1"
14
13
},
14
+ "peerDependencies" : {
15
+ "sharp" : " ^0.19.0"
16
+ },
15
17
"devDependencies" : {
16
18
"chai" : " ^3.5.0" ,
19
+ "sharp" : " ^0.19.0" ,
17
20
"mocha" : " ^3.0.2"
18
21
}
19
22
}
You can’t perform that action at this time.
0 commit comments