9de48fb51e
This patch introduces a custom jasmine matcher which compares images to golden results. As a result, it becomes possible to incorporate the goldentest.js into test.js. This allows to write tests in a unified way.
33 lines
773 B
JSON
33 lines
773 B
JSON
{
|
|
"name": "puppeteer",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test-puppeteer": "jasmine test/test.js",
|
|
"test-phantom": "python third_party/phantomjs/test/run-tests.py",
|
|
"test": "npm run test-puppeteer && npm run test-phantom",
|
|
"install": "node install.js"
|
|
},
|
|
"author": "The Chromium Authors",
|
|
"license": "SEE LICENSE IN LICENSE",
|
|
"dependencies": {
|
|
"extract-zip": "^1.6.5",
|
|
"mime": "^1.3.4",
|
|
"progress": "^2.0.0",
|
|
"rimraf": "^2.6.1",
|
|
"ws": "^3.0.0"
|
|
},
|
|
"puppeteer": {
|
|
"chromium_revision": "478524"
|
|
},
|
|
"devDependencies": {
|
|
"deasync": "^0.1.9",
|
|
"jasmine": "^2.6.0",
|
|
"minimist": "^1.2.0",
|
|
"ncp": "^2.0.0",
|
|
"pixelmatch": "^4.0.2",
|
|
"pngjs": "^3.2.0"
|
|
}
|
|
}
|