2018-04-11 01:48:11 +08:00
|
|
|
{
|
2018-05-17 10:52:29 +08:00
|
|
|
"name": "rsshub",
|
2020-07-10 11:39:51 +08:00
|
|
|
"version": "1.0.0",
|
2018-04-11 01:48:11 +08:00
|
|
|
"description": "Make RSS Great Again!",
|
2023-04-25 18:20:56 +04:00
|
|
|
"keywords": [
|
|
|
|
|
"RSS"
|
2019-09-20 01:43:23 +08:00
|
|
|
],
|
2023-04-25 18:20:56 +04:00
|
|
|
"homepage": "https://github.com/DIYgod/RSSHub#readme",
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/DIYgod/RSSHub/issues"
|
2022-10-10 18:37:36 +01:00
|
|
|
},
|
2018-04-11 01:48:11 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/DIYgod/RSSHub.git"
|
|
|
|
|
},
|
|
|
|
|
"license": "MIT",
|
2023-04-25 18:20:56 +04:00
|
|
|
"author": "DIYgod",
|
|
|
|
|
"main": "lib/pkg.js",
|
|
|
|
|
"files": [
|
|
|
|
|
"lib"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build:all": "npm run build:radar && npm run build:maintainer",
|
|
|
|
|
"build:maintainer": "node scripts/workflow/build-maintainer.js",
|
|
|
|
|
"build:radar": "node scripts/workflow/build-radar.js",
|
|
|
|
|
"dev": "cross-env NODE_ENV=dev nodemon --inspect lib/index.js",
|
2023-11-03 15:17:17 +00:00
|
|
|
"format": "eslint --cache --fix \"**/*.{js,yml}\" && node website/docs/.format/format.mjs && prettier \"**/*.{js,json}\" --write",
|
2023-07-20 10:18:37 -06:00
|
|
|
"format:check": "eslint --cache \"**/*.{js,yml}\" && prettier \"**/*.{js,json}\" --check",
|
|
|
|
|
"format:staged": "lint-staged",
|
2023-04-25 18:20:56 +04:00
|
|
|
"jest": "cross-env NODE_ENV=test jest --runInBand --forceExit --detectOpenHandles",
|
|
|
|
|
"jest:coverage": "cross-env NODE_ENV=test jest --coverage --reporters=default --reporters=jest-junit --runInBand --forceExit --detectOpenHandles",
|
|
|
|
|
"jest:watch": "cross-env NODE_ENV=test jest --watch",
|
2023-07-20 10:18:37 -06:00
|
|
|
"lint": "eslint --cache .",
|
2023-06-21 12:17:59 +00:00
|
|
|
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
|
2023-04-25 18:20:56 +04:00
|
|
|
"profiling": "NODE_ENV=production node --prof lib/index.js",
|
|
|
|
|
"start": "node lib/index.js",
|
|
|
|
|
"test": "npm run format:check && npm run jest:coverage"
|
2018-04-11 01:48:11 +08:00
|
|
|
},
|
2023-07-20 10:18:37 -06:00
|
|
|
"lint-staged": {
|
|
|
|
|
"*.js": [
|
|
|
|
|
"eslint --cache --fix",
|
|
|
|
|
"prettier --ignore-unknown --ignore-path ./.gitignore --write"
|
|
|
|
|
],
|
2023-11-30 14:52:49 +00:00
|
|
|
"*.md?(x)": "node website/docs/.format/format.mjs --staged",
|
2023-07-20 10:18:37 -06:00
|
|
|
"*.yml": "eslint --cache --fix"
|
|
|
|
|
},
|
2023-04-25 18:20:56 +04:00
|
|
|
"nodemonConfig": {
|
|
|
|
|
"ext": "art,js,mjs,json",
|
|
|
|
|
"watch": [
|
|
|
|
|
".env",
|
|
|
|
|
"lib",
|
|
|
|
|
"test"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"jest": {
|
|
|
|
|
"bail": true,
|
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
|
"lib/**/*.js",
|
|
|
|
|
"!lib/routes/**/*.js",
|
|
|
|
|
"!lib/v2/**/*.js",
|
|
|
|
|
"!lib/router.js",
|
|
|
|
|
"!lib/maintainer.js",
|
|
|
|
|
"!lib/radar.js",
|
|
|
|
|
"!lib/radar-rules.js"
|
|
|
|
|
],
|
|
|
|
|
"coverageReporters": [
|
|
|
|
|
"text-summary",
|
|
|
|
|
"lcov"
|
|
|
|
|
],
|
|
|
|
|
"moduleNameMapper": {
|
|
|
|
|
"@/(.*)": "<rootDir>/lib/$1"
|
|
|
|
|
},
|
|
|
|
|
"testEnvironment": "node",
|
|
|
|
|
"testMatch": [
|
2023-07-23 20:35:26 +01:00
|
|
|
"**/test/**/*.js"
|
2023-04-25 18:20:56 +04:00
|
|
|
],
|
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
|
"/node_modules/",
|
|
|
|
|
"/lib/"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"jest-junit": {
|
|
|
|
|
"outputDirectory": "coverage"
|
2018-05-06 05:23:55 +08:00
|
|
|
},
|
2018-04-11 01:48:11 +08:00
|
|
|
"dependencies": {
|
2023-10-12 22:29:27 +00:00
|
|
|
"@koa/router": "12.0.1",
|
2023-12-04 22:39:54 +00:00
|
|
|
"@notionhq/client": "2.2.14",
|
2022-10-25 21:24:38 +00:00
|
|
|
"@postlight/parser": "2.2.3",
|
2023-12-14 22:39:51 +00:00
|
|
|
"@sentry/node": "7.88.0",
|
2023-12-04 22:28:41 +00:00
|
|
|
"@tonyrl/rand-user-agent": "2.0.42",
|
2019-09-01 12:42:41 +08:00
|
|
|
"aes-js": "3.1.2",
|
2018-11-19 02:32:13 +08:00
|
|
|
"art-template": "4.13.2",
|
2020-12-08 17:42:22 +08:00
|
|
|
"bbcodejs": "0.0.4",
|
2022-06-28 03:04:07 -04:00
|
|
|
"cheerio": "1.0.0-rc.12",
|
2023-11-20 22:04:11 +00:00
|
|
|
"chrono-node": "2.7.3",
|
2022-07-08 03:14:46 +05:00
|
|
|
"city-timezones": "1.2.1",
|
2023-10-25 23:05:31 +00:00
|
|
|
"crypto-js": "4.2.0",
|
2022-05-31 05:27:55 +08:00
|
|
|
"currency-symbol-map": "5.1.0",
|
2023-06-16 21:15:22 +06:00
|
|
|
"dayjs": "1.11.8",
|
2023-07-01 21:36:25 +03:00
|
|
|
"dotenv": "16.3.1",
|
2023-04-26 01:47:38 +08:00
|
|
|
"entities": "4.5.0",
|
2019-04-26 11:59:17 +08:00
|
|
|
"etag": "1.8.1",
|
2020-08-10 17:03:08 +00:00
|
|
|
"fanfou-sdk": "4.2.0",
|
2022-02-10 06:14:47 +08:00
|
|
|
"git-rev-sync": "3.0.2",
|
2023-11-30 22:29:40 +00:00
|
|
|
"googleapis": "129.0.0",
|
2022-12-09 22:05:42 +00:00
|
|
|
"got": "11.8.6",
|
2023-11-06 22:36:24 +08:00
|
|
|
"html-to-text": "9.0.5",
|
2023-09-05 19:48:05 +08:00
|
|
|
"https-proxy-agent": "7.0.2",
|
2021-11-28 00:33:37 +00:00
|
|
|
"iconv-lite": "0.6.3",
|
2023-10-26 21:53:28 +00:00
|
|
|
"imapflow": "1.0.147",
|
2022-02-15 23:39:33 +01:00
|
|
|
"instagram-private-api": "1.45.3",
|
2023-04-17 22:02:55 +00:00
|
|
|
"ioredis": "5.3.2",
|
2021-11-28 00:33:37 +00:00
|
|
|
"ip-regex": "4.3.0",
|
2022-08-03 12:29:39 -11:00
|
|
|
"is-localhost-ip": "2.0.0",
|
2023-11-30 22:18:40 +00:00
|
|
|
"jsdom": "23.0.1",
|
2020-07-14 17:01:20 +00:00
|
|
|
"json-bigint": "1.0.0",
|
2023-01-02 21:10:40 +00:00
|
|
|
"json5": "2.2.3",
|
2023-11-27 22:30:01 +00:00
|
|
|
"jsrsasign": "10.9.0",
|
2023-04-12 22:03:37 +00:00
|
|
|
"koa": "2.14.2",
|
2019-04-23 11:50:27 +08:00
|
|
|
"koa-basic-auth": "4.0.0",
|
2020-02-27 11:05:29 +00:00
|
|
|
"koa-favicon": "2.1.0",
|
2019-04-23 11:50:27 +08:00
|
|
|
"koa-mount": "4.0.0",
|
2023-06-07 09:30:54 -04:00
|
|
|
"koa-static": "5.0.0",
|
2023-11-22 21:42:58 +00:00
|
|
|
"lru-cache": "10.1.0",
|
2023-03-07 19:40:24 +08:00
|
|
|
"lz-string": "1.5.0",
|
2023-07-19 13:59:29 +00:00
|
|
|
"mailparser": "3.6.5",
|
2023-12-09 22:26:00 +08:00
|
|
|
"markdown-it": "14.0.0",
|
2023-06-16 21:15:22 +06:00
|
|
|
"module-alias": "2.2.3",
|
2023-07-19 13:59:29 +00:00
|
|
|
"notion-to-md": "3.1.1",
|
2023-11-29 21:50:26 +08:00
|
|
|
"oauth-1.0a": "2.2.6",
|
2023-07-19 13:59:29 +00:00
|
|
|
"plist": "3.1.0",
|
2023-11-06 00:35:39 +08:00
|
|
|
"proxy-chain": "2.4.0",
|
2023-12-13 22:28:19 +00:00
|
|
|
"puppeteer": "21.6.1",
|
2023-03-01 22:00:21 +00:00
|
|
|
"puppeteer-extra": "3.3.6",
|
2023-03-01 22:44:26 +00:00
|
|
|
"puppeteer-extra-plugin-stealth": "2.11.2",
|
2023-05-05 09:58:29 -06:00
|
|
|
"puppeteer-extra-plugin-user-data-dir": "2.4.1",
|
|
|
|
|
"puppeteer-extra-plugin-user-preferences": "2.4.1",
|
2022-12-02 21:07:15 +00:00
|
|
|
"query-string": "7.1.3",
|
2023-12-04 22:28:17 +00:00
|
|
|
"re2js": "0.4.1",
|
2019-10-12 18:41:09 +08:00
|
|
|
"require-all": "3.0.0",
|
2023-10-27 23:05:55 +00:00
|
|
|
"rfc4648": "1.5.3",
|
2023-04-13 06:31:37 +08:00
|
|
|
"rss-parser": "3.13.0",
|
2023-01-06 21:18:24 +00:00
|
|
|
"simplecc-wasm": "0.1.5",
|
2023-09-05 19:41:58 +08:00
|
|
|
"socks-proxy-agent": "8.0.2",
|
2023-04-16 03:54:50 +08:00
|
|
|
"source-map": "0.7.4",
|
2022-05-11 06:23:53 +08:00
|
|
|
"tiny-async-pool": "2.1.0",
|
2023-12-15 14:37:12 +00:00
|
|
|
"title": "3.5.3",
|
2023-06-16 21:15:22 +06:00
|
|
|
"tough-cookie": "4.1.3",
|
2023-10-12 09:29:21 +08:00
|
|
|
"twitter-api-v2": "1.15.2",
|
2023-12-06 16:58:39 +00:00
|
|
|
"winston": "3.11.0",
|
|
|
|
|
"xxhash-wasm": "1.0.2"
|
2018-05-14 15:47:14 +08:00
|
|
|
},
|
2023-04-25 18:20:56 +04:00
|
|
|
"devDependencies": {
|
|
|
|
|
"@microsoft/eslint-formatter-sarif": "3.0.0",
|
2023-12-11 22:51:11 +00:00
|
|
|
"@stylistic/eslint-plugin-js": "1.5.1",
|
2023-11-10 16:19:02 +08:00
|
|
|
"@types/aes-js": "3.1.4",
|
2023-11-07 22:56:40 +00:00
|
|
|
"@types/crypto-js": "4.2.1",
|
2023-12-13 22:12:48 +00:00
|
|
|
"@types/eslint": "8.44.9",
|
2023-11-10 16:20:26 +08:00
|
|
|
"@types/eslint-config-prettier": "6.11.3",
|
2023-11-10 21:59:02 +00:00
|
|
|
"@types/etag": "1.8.3",
|
2023-11-07 23:52:13 +00:00
|
|
|
"@types/fs-extra": "11.0.4",
|
2023-11-08 23:20:33 +00:00
|
|
|
"@types/git-rev-sync": "2.0.2",
|
2023-11-14 01:56:04 +08:00
|
|
|
"@types/html-to-text": "9.0.4",
|
2023-11-09 01:11:23 +00:00
|
|
|
"@types/imapflow": "1.0.16",
|
2023-11-21 22:48:59 +00:00
|
|
|
"@types/jsdom": "21.1.6",
|
2023-11-08 23:19:28 +00:00
|
|
|
"@types/json-bigint": "1.0.4",
|
2023-11-21 22:49:23 +00:00
|
|
|
"@types/koa": "2.13.12",
|
2023-11-08 23:19:59 +00:00
|
|
|
"@types/koa-basic-auth": "2.0.6",
|
2023-11-08 01:36:18 +00:00
|
|
|
"@types/koa-favicon": "2.1.3",
|
2023-11-10 16:41:49 +08:00
|
|
|
"@types/koa-mount": "4.0.5",
|
2023-11-10 16:19:22 +08:00
|
|
|
"@types/koa-static": "4.0.4",
|
2023-11-13 22:26:17 +00:00
|
|
|
"@types/koa__router": "12.0.4",
|
2023-11-10 16:17:59 +08:00
|
|
|
"@types/lint-staged": "13.2.2",
|
2023-11-07 23:02:24 +00:00
|
|
|
"@types/mailparser": "3.4.4",
|
2023-11-21 22:47:09 +00:00
|
|
|
"@types/markdown-it": "13.0.7",
|
2023-11-10 23:41:41 +00:00
|
|
|
"@types/module-alias": "2.0.4",
|
2023-11-21 22:48:31 +00:00
|
|
|
"@types/nodemon": "1.19.6",
|
2023-11-09 01:11:05 +00:00
|
|
|
"@types/plist": "3.0.5",
|
2023-11-08 02:23:06 +00:00
|
|
|
"@types/request-promise-native": "1.0.21",
|
2023-11-07 23:33:39 +00:00
|
|
|
"@types/require-all": "3.0.6",
|
2023-11-08 23:20:56 +00:00
|
|
|
"@types/supertest": "2.0.16",
|
2023-11-21 22:48:08 +00:00
|
|
|
"@types/tiny-async-pool": "2.0.3",
|
2023-11-10 16:09:08 +08:00
|
|
|
"@types/tough-cookie": "4.0.5",
|
2023-12-13 22:29:27 +00:00
|
|
|
"@vercel/nft": "0.26.0",
|
2023-04-25 18:20:56 +04:00
|
|
|
"cross-env": "7.0.3",
|
2023-12-04 23:42:48 +00:00
|
|
|
"eslint": "8.55.0",
|
2023-12-05 00:13:55 +00:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2023-12-11 23:02:23 +00:00
|
|
|
"eslint-plugin-n": "16.4.0",
|
2023-10-12 07:55:33 +08:00
|
|
|
"eslint-plugin-prettier": "5.0.1",
|
2023-12-15 01:45:21 +08:00
|
|
|
"eslint-plugin-yml": "1.11.0",
|
2023-11-28 21:47:37 +00:00
|
|
|
"fs-extra": "11.2.0",
|
2023-05-08 01:38:56 +00:00
|
|
|
"husky": "8.0.3",
|
2023-09-13 20:15:05 +08:00
|
|
|
"jest": "29.7.0",
|
2023-04-25 18:20:56 +04:00
|
|
|
"jest-junit": "16.0.0",
|
2023-12-04 23:10:25 +00:00
|
|
|
"lint-staged": "15.2.0",
|
2023-04-25 18:20:56 +04:00
|
|
|
"mockdate": "3.0.5",
|
2023-11-27 22:27:29 +00:00
|
|
|
"nock": "13.4.0",
|
2023-12-01 21:34:23 +00:00
|
|
|
"nodemon": "3.0.2",
|
2023-12-11 22:25:35 +00:00
|
|
|
"prettier": "3.1.1",
|
2023-12-14 17:27:02 +00:00
|
|
|
"remark": "14.0.3",
|
|
|
|
|
"remark-custom-heading-id": "1.0.1",
|
|
|
|
|
"remark-directive": "3.0.0",
|
|
|
|
|
"remark-frontmatter": "4.0.1",
|
|
|
|
|
"remark-gfm": "3.0.1",
|
|
|
|
|
"remark-mdx": "2.3.0",
|
2023-04-25 18:20:56 +04:00
|
|
|
"remark-pangu": "2.2.0",
|
|
|
|
|
"remark-parse": "9.0.0",
|
|
|
|
|
"remark-preset-prettier": "0.5.1",
|
|
|
|
|
"request-promise-native": "1.0.9",
|
|
|
|
|
"staged-git-files": "1.3.0",
|
2023-12-14 17:27:02 +00:00
|
|
|
"string-width": "7.0.0",
|
2023-04-25 18:20:56 +04:00
|
|
|
"supertest": "6.3.3",
|
2023-12-14 17:27:02 +00:00
|
|
|
"to-vfile": "8.0.0",
|
2023-04-25 18:20:56 +04:00
|
|
|
"tosource": "2.0.0-alpha.3",
|
2023-12-14 17:27:02 +00:00
|
|
|
"unified": "9.2.2",
|
|
|
|
|
"unist-util-visit": "4.1.2",
|
|
|
|
|
"unist-util-visit-parents": "5.1.3"
|
2022-03-25 20:47:06 +08:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2023-03-19 21:22:02 +00:00
|
|
|
"node": ">=16"
|
2023-04-25 18:20:56 +04:00
|
|
|
},
|
|
|
|
|
"reporters": [
|
|
|
|
|
"default",
|
|
|
|
|
"jest-junit"
|
|
|
|
|
]
|
2022-03-29 20:21:21 +08:00
|
|
|
}
|