mercury-parser/package.json

173 lines
5.1 KiB
JSON
Raw Normal View History

2016-08-22 18:53:42 +00:00
{
"name": "@postlight/mercury-parser",
2019-02-13 23:46:45 +00:00
"version": "2.0.0",
"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"
],
2016-09-16 17:26:37 +00:00
"main": "./dist/mercury.js",
2019-02-05 20:14:38 +00:00
"bin": {
"mercury-parser": "./cli.js"
},
2016-08-22 18:53:42 +00:00
"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:web:ci": "rollup -c rollup.config.web.js && yarn test:build:web",
2016-12-03 00:14:07 +00:00
"release": "yarn build && yarn build:web",
"build:generator": "rollup -c scripts/rollup.config.js",
2016-09-14 14:14:19 +00:00
"test_build": "rollup -c",
2016-11-22 16:45:57 +00:00
"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",
"watch:test": "jest --watch",
"generate-parser": "node ./dist/generate-custom-parser.js"
2016-08-22 18:53:42 +00:00
},
"engines": {
"node": ">=8.10"
},
2016-08-23 15:03:31 +00:00
"devDependencies": {
2019-01-23 17:54:42 +00:00
"@babel/core": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
2019-01-14 19:18:32 +00:00
"@jesses/circle-github-bot": "^2.1.0",
2019-01-23 17:54:42 +00:00
"@octokit/rest": "^16.9.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.4.2",
"babel-plugin-module-alias": "^1.6.0",
2019-01-23 17:54:42 +00:00
"babel-plugin-module-resolver": "^3.1.2",
"babelify": "^10.0.0",
"babelrc-rollup": "^3.0.0",
2019-01-23 17:54:42 +00:00
"brfs": "^2.0.1",
"brfs-babel": "^1.0.0",
2019-01-23 17:54:42 +00:00
"browserify": "^16.2.3",
2018-12-20 17:30:47 +00:00
"changelog-maker": "^2.3.0",
2019-01-23 17:54:42 +00:00
"eslint": "^5.12.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
2019-01-23 17:54:42 +00:00
"eslint-import-resolver-babel-module": "^2.2.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.12.3",
"express": "^4.16.4",
"husky": "^1.3.1",
2019-01-23 17:54:42 +00:00
"inquirer": "^6.2.1",
"jasmine-core": "^2.5.2",
2019-01-23 17:54:42 +00:00
"jest": "^23.6.0",
"jest-cli": "^23.6.0",
"karma": "^3.1.4",
"karma-browserify": "^6.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^2.0.0",
"karma-jasmine": "^1.0.2",
"karma-mocha": "^1.3.0",
"karma-requirejs": "^1.1.0",
"lint-staged": "^8.1.0",
"mocha": "^6.0.0",
2019-01-23 17:54:42 +00:00
"nock": "^10.0.6",
"ora": "^3.0.0",
"prettier": "^1.15.3",
"remark-cli": "^6.0.1",
"remark-lint": "^6.0.4",
"remark-preset-lint-recommended": "^3.0.2",
2019-01-23 17:54:42 +00:00
"requirejs": "^2.3.6",
"rollup": "^1.1.0",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^2.0.0",
2019-01-23 17:54:42 +00:00
"rollup-plugin-uglify": "^6.0.1",
"watchify": "^3.11.1"
2016-08-23 15:03:31 +00:00
},
2016-08-22 18:53:42 +00:00
"dependencies": {
"@babel/runtime-corejs2": "^7.2.0",
"@postlight/ci-failed-test-reporter": "^1.0",
"browser-request": "github:postlight/browser-request#feat-add-headers-to-response",
"cheerio": "^0.22.0",
"difflib": "github:postlight/difflib.js",
2019-01-23 17:54:42 +00:00
"ellipsize": "0.1.0",
"iconv-lite": "0.4.24",
"jquery": "^3.3.1",
"moment": "^2.23.0",
"moment-parseformat": "3.0.0",
"moment-timezone": "0.5.23",
"postman-request": "^2.88.1-postman.7.1",
2019-01-23 17:54:42 +00:00
"request-promise": "^4.2.2",
2016-09-15 19:08:04 +00:00
"string-direction": "^0.1.2",
"turndown": "^5.0.3",
"url": "^0.11.0",
"valid-url": "^1.0.9",
"wuzzy": "^0.1.3",
"yargs-parser": "^13.0.0"
},
"bundleDependencies": [
"jquery",
"moment-timezone",
"browser-request"
],
"browser": {
"main": "./dist/mercury.web.js",
"cheerio": "./src/shims/cheerio-query",
2019-01-23 17:54:42 +00:00
"jquery": "./node_modules/jquery/dist/jquery.min.js",
"postman-request": "browser-request",
"iconv-lite": "./src/shims/iconv-lite",
2019-01-23 17:54:42 +00:00
"moment-timezone": "./node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
2019-01-17 17:15:31 +00:00
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{json,css,md}": [
"remark .",
"prettier --write",
"git add"
]
},
"greenkeeper": {
"ignore": [
"jasmine-core",
"karma-jasmine",
"rollup-plugin-node-resolve",
"eslint-import-resolver-babel-module",
"jest",
"jest-cli",
"babel-jest",
"karma"
]
2016-08-22 18:53:42 +00:00
}
}