Skip to content

Commit

Permalink
Add canvas as an optional peer dependency
Browse files Browse the repository at this point in the history
Following the discussion in jsdom#2603.
  • Loading branch information
Zirro committed May 30, 2019
1 parent 0371215 commit 529b9f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
"_dependenciesComments": {
"parse5": "Pinned to exact version number because we monkeypatch its internals (see htmltodom.js)"
},
"peerDependencies": {
"canvas": "^2.5.0"
},
"peerDependenciesMeta": {
"canvas": {
"optional": true
}
},
"devDependencies": {
"benchmark": "1.0.0",
"browserify": "^16.2.3",
Expand Down

0 comments on commit 529b9f3

Please sign in to comment.