You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mercury-parser/package.json

164 lines
5.1 KiB
JSON

{
"name": "@postlight/mercury-parser",
"version": "2.2.1",
"description": "Mercury transforms web pages into clean text. Publishers and programmers use it to make the web make sense, and readers use it to read any web article comfortably.",
"author": "Postlight <mercury@postlight.com>",
"homepage": "https://mercury.postlight.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/postlight/mercury-parser.git"
},
"bugs": {
"url": "https://github.com/postlight/mercury-parser/issues"
},
"keywords": [
"mercury",
"parser",
"reader",
"web",
"content"
],
"files": [
"dist",
"cli.js",
"src/shims/"
],
"main": "./dist/mercury.js",
"bin": {
"mercury-parser": "./cli.js"
},
"scripts": {
"lint": "eslint . --fix",
"lint:ci": "remark . && eslint .",
"lint-fix-quiet": "eslint --fix --quiet",
"build": "yarn lint && rollup -c && yarn test:build",
"build:ci": "rollup -c && yarn test:build",
"build:web": "yarn lint && rollup -c rollup.config.web.js && yarn test:build:web",
"build:esm": "yarn lint && rollup -c rollup.config.esm.js && yarn test:build:esm",
"build:esm:ci": "rollup -c rollup.config.esm.js && yarn test:build:esm",
"build:web:ci": "rollup -c rollup.config.web.js && yarn test:build:web",
"release": "yarn build && yarn build:web",
"build:generator": "rollup -c scripts/rollup.config.js",
"test_build": "rollup -c",
"test": "yarn test:node && yarn test:web",
"test:node": "jest --json --outputFile test-output.json",
"test:web": "node ./node_modules/karma/bin/karma start karma.conf.js --auto-watch",
"test:build": "cd ./scripts && jest check-build.test.js",
"test:build:web": "node ./scripts/proxy-browser-test.js",
"test:build:esm": "node ./scripts/proxy-browser-test.js",
"watch:test": "jest --watch",
"generate-parser": "node ./dist/generate-custom-parser.js"
},
"engines": {
"node": ">=10"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/runtime": "^7.11.2",
"@jesses/circle-github-bot": "^2.1.0",
"@octokit/rest": "^16.43.2",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-plugin-module-resolver": "^4.0.0",
"babelify": "^10.0.0",
"babelrc-rollup": "^3.0.0",
"brfs": "^2.0.2",
"brfs-babel": "^2.0.0",
"browserify": "^16.5.2",
"changelog-maker": "^2.4.2",
"eslint": "^7.8.1",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-babel-module": "^5.1.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"express": "^4.17.1",
"husky": "^4.2.5",
"inquirer": "^7.3.3",
"jasmine-core": "^2.99.1",
"jest": "^26.4.2",
"jest-cli": "^26.4.2",
"karma": "^6.3.16",
"karma-browserify": "8.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-jasmine": "^1.1.2",
"karma-mocha": "^1.3.0",
"karma-requirejs": "^1.1.0",
"lint-staged": "^8.2.1",
"mocha": "^6.2.3",
"nock": "^10.0.6",
"ora": "^4.1.1",
"prettier": "^1.19.1",
"remark-cli": "^7.0.1",
"remark-lint": "^6.0.6",
"remark-preset-lint-recommended": "^3.0.4",
"requirejs": "^2.3.6",
"rollup": "^2.26.9",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-uglify": "^6.0.4",
"watchify": "^3.11.1"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.11.2",
"@postlight/ci-failed-test-reporter": "^1.0.26",
"browser-request": "github:postlight/browser-request#feat-add-headers-to-response",
"cheerio": "0.22.0",
"core-js": "3.6.5",
"difflib": "github:postlight/difflib.js",
"ellipsize": "0.1.0",
"eslint-plugin-react-hooks": "^4.1.0",
"iconv-lite": "0.6.2",
"jquery": "3.5.0",
"moment": "^2.27.0",
"moment-parseformat": "3.0.0",
"moment-timezone": "0.5.26",
"postman-request": "^2.88.1-postman.7.1",
"request": "^2.88.2",
"string-direction": "^0.1.2",
"turndown": "^5.0.3",
"url": "^0.11.0",
"valid-url": "^1.0.9",
"wuzzy": "^0.1.5",
"yargs-parser": "^14.0.0"
},
"bundleDependencies": [
"jquery",
"moment-timezone",
"browser-request"
],
"browser": {
"main": "./dist/mercury.web.js",
"cheerio": "./src/shims/cheerio-query",
"jquery": "./node_modules/jquery/dist/jquery.min.js",
"postman-request": "browser-request",
"iconv-lite": "./src/shims/iconv-lite",
"moment-timezone": "./node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{json,css,md}": [
"remark .",
"prettier --write",
"git add"
]
}
}