mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Merge pull request #723 from MattouFP/optional-canvas-dep
Make "canvas" dependency optional to avoid unnecessary builds
This commit is contained in:
commit
ed3edbbf4a
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue