Merge pull request #723 from MattouFP/optional-canvas-dep

Make "canvas" dependency optional to avoid unnecessary builds
This commit is contained in:
Jürg Lehni 2015-07-07 11:00:04 +02:00
commit ed3edbbf4a

View file

@ -25,10 +25,12 @@
"node": ">= 0.4.0"
},
"dependencies": {
"canvas": "~1.2.1",
"jsdom": "~3.1.2",
"request": "~2.53.0"
},
"optionalDependencies": {
"canvas": "~1.2.1"
},
"devDependencies": {
"uglify-js": "~2.4.16",
"prepro": "~0.8.3"