readability/package.json
Gijs Kruitbosch d598baf02b Improve URL handling in JSDOMParser and Readability.js
This change ups the required node version to 7.0 because it relies on the builtin url module.

We now pass a url when constructing a jsdom document or JSDOMParser document.
Because this is an API change, I'm increasing the package version.

Ultimately, I would like to remove the  argument from the readability constructor. It should
use the documentURI from the document it is passed.
2018-02-28 11:29:29 +00:00

35 lines
972 B
JSON

{
"name": "readability",
"version": "0.1.0",
"description": "A standalone version of the readability library used for Firefox Reader View.",
"main": "Readability.js",
"scripts": {
"lint": "eslint .",
"test": "mocha test/test-*.js",
"generate-testcase": "node test/generate-testcase.js",
"perf": "matcha benchmarks/benchmarks.js",
"perf-reference": "READABILITY_PERF_REFERENCE=1 matcha --reporter ./benchmarks/benchmark-reporter.js benchmarks/benchmarks.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mozilla/readability"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mozilla/readability/issues"
},
"engines": {
"node" : ">=7.0"
},
"homepage": "https://github.com/mozilla/readability",
"devDependencies": {
"chai": "^2.1.*",
"eslint": ">=4.2",
"js-beautify": "^1.5.5",
"jsdom": "^7.0",
"matcha": "^0.6.0",
"mocha": "^2.2.*"
}
}