mirror of
https://github.com/mapbox/pixelmatch.git
synced 2026-02-01 14:53:50 +00:00
upgrade deps
This commit is contained in:
parent
a20d6c1c1e
commit
ae8b89e8fd
@ -6,7 +6,8 @@ var PNG = require('pngjs').PNG,
|
||||
match = require('../.');
|
||||
|
||||
if (process.argv.length < 5) {
|
||||
return console.log('Usage: imagematch image1.png image2.png output.png [threshold=0.005] [includeAA=false]');
|
||||
console.log('Usage: imagematch image1.png image2.png output.png [threshold=0.005] [includeAA=false]');
|
||||
return;
|
||||
}
|
||||
|
||||
var threshold = isNaN(+process.argv[5]) ? undefined : +process.argv[5],
|
||||
|
||||
@ -7,12 +7,12 @@
|
||||
"pixelmatch": "bin/pixelmatch"
|
||||
},
|
||||
"dependencies": {
|
||||
"pngjs": "^2.1.0"
|
||||
"pngjs": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^1.6.0",
|
||||
"eslint-config-mourner": "^1.0.1",
|
||||
"tap": "^2.1.1"
|
||||
"eslint": "^3.2.2",
|
||||
"eslint-config-mourner": "^2.0.1",
|
||||
"tap": "^6.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "eslint index.js bin/pixelmatch test/test.js",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user