puppeteer/package.json
Andrey Lushnikov 403362eaf1 Add more tests to cover Page.pdf() method (#196)
This patch adds sanity tests to make sure Page.pdf() produces
sane results.

Fixes #166.
2017-08-03 13:37:20 -07:00

49 lines
1.5 KiB
JSON

{
"name": "puppeteer",
"version": "0.1.0",
"description": "",
"main": "index.js",
"repository": "github:GoogleChrome/puppeteer",
"engines": {
"node": ">=7.10.0"
},
"scripts": {
"unit": "jasmine test/test.js",
"debug-unit": "DEBUG_TEST=true node --inspect-brk ./node_modules/.bin/jasmine test/test.js",
"test-phantom": "python third_party/phantomjs/test/run-tests.py",
"test-doclint": "jasmine utils/doclint/check_public_api/test/test.js && jasmine utils/doclint/preprocessor/test.js",
"test": "npm run lint --silent && npm run coverage && npm run test-phantom && npm run test-doclint",
"install": "node install.js",
"lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run doc",
"doc": "node utils/doclint/cli.js",
"coverage": "COVERAGE=true npm run unit"
},
"author": "The Chromium Authors",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"debug": "^2.6.8",
"extract-zip": "^1.6.5",
"mime": "^1.3.4",
"progress": "^2.0.0",
"rimraf": "^2.6.1",
"ws": "^3.0.0"
},
"puppeteer": {
"chromium_revision": "491334"
},
"devDependencies": {
"commonmark": "^0.27.0",
"deasync": "^0.1.9",
"eslint": "^4.0.0",
"esprima": "^4.0.0",
"jasmine": "^2.6.0",
"markdown-toc": "^1.1.0",
"minimist": "^1.2.0",
"ncp": "^2.0.0",
"pdfjs-dist": "^1.8.595",
"pixelmatch": "^4.0.2",
"pngjs": "^3.2.0",
"text-diff": "^1.0.1"
}
}