mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-03-13 10:30:18 +08:00
238 lines
6.9 KiB
JSON
238 lines
6.9 KiB
JSON
{
|
|
"name": "rsshub",
|
|
"version": "1.0.0",
|
|
"description": "Make RSS Great Again!",
|
|
"keywords": [
|
|
"RSS"
|
|
],
|
|
"homepage": "https://github.com/DIYgod/RSSHub#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/DIYgod/RSSHub/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/DIYgod/RSSHub.git"
|
|
},
|
|
"license": "MIT",
|
|
"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 tsx watch lib/index.ts",
|
|
"format": "eslint --cache --fix \"**/*.{ts,js,yml}\" && node website/docs/.format/format.mjs && prettier \"**/*.{ts,js,json}\" --write",
|
|
"format:check": "eslint --cache \"**/*.{ts,js,yml}\" && prettier \"**/*.{ts,js,json}\" --check",
|
|
"format:staged": "lint-staged",
|
|
"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",
|
|
"lint": "eslint --cache .",
|
|
"prepare": "husky || true",
|
|
"profiling": "NODE_ENV=production node --prof lib/index.js",
|
|
"start": "node lib/index.js",
|
|
"test": "npm run format:check && npm run jest:coverage"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --cache --fix",
|
|
"prettier --ignore-unknown --ignore-path ./.gitignore --write"
|
|
],
|
|
"*.ts": [
|
|
"eslint --cache --fix",
|
|
"prettier --ignore-unknown --ignore-path ./.gitignore --write"
|
|
],
|
|
"*.md?(x)": "node website/docs/.format/format.mjs --staged",
|
|
"*.yml": "eslint --cache --fix"
|
|
},
|
|
"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": [
|
|
"**/test/**/*.ts"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/lib/"
|
|
]
|
|
},
|
|
"jest-junit": {
|
|
"outputDirectory": "coverage"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "1.4.0",
|
|
"@koa/router": "12.0.1",
|
|
"@notionhq/client": "2.2.14",
|
|
"@postlight/parser": "2.2.3",
|
|
"@sentry/node": "7.98.0",
|
|
"@tonyrl/rand-user-agent": "2.0.47",
|
|
"@types/node": "20.11.5",
|
|
"aes-js": "3.1.2",
|
|
"art-template": "4.13.2",
|
|
"bbcodejs": "0.0.4",
|
|
"cheerio": "1.0.0-rc.12",
|
|
"chrono-node": "2.7.5",
|
|
"city-timezones": "1.2.1",
|
|
"crypto-js": "4.2.0",
|
|
"currency-symbol-map": "5.1.0",
|
|
"dayjs": "1.11.8",
|
|
"directory-import": "3.2.1",
|
|
"dotenv": "16.4.1",
|
|
"entities": "4.5.0",
|
|
"etag": "1.8.1",
|
|
"fanfou-sdk": "4.2.0",
|
|
"git-rev-sync": "3.0.2",
|
|
"googleapis": "131.0.0",
|
|
"got": "11.8.6",
|
|
"hono": "3.12.6",
|
|
"html-to-text": "9.0.5",
|
|
"https-proxy-agent": "7.0.2",
|
|
"iconv-lite": "0.6.3",
|
|
"imapflow": "1.0.148",
|
|
"instagram-private-api": "1.45.3",
|
|
"ioredis": "5.3.2",
|
|
"ip-regex": "4.3.0",
|
|
"is-localhost-ip": "2.0.0",
|
|
"jsdom": "24.0.0",
|
|
"json-bigint": "1.0.0",
|
|
"json5": "2.2.3",
|
|
"jsrsasign": "10.9.0",
|
|
"koa": "2.15.0",
|
|
"koa-basic-auth": "4.0.0",
|
|
"koa-favicon": "2.1.0",
|
|
"koa-mount": "4.0.0",
|
|
"koa-static": "5.0.0",
|
|
"lru-cache": "10.2.0",
|
|
"lz-string": "1.5.0",
|
|
"mailparser": "3.6.6",
|
|
"markdown-it": "14.0.0",
|
|
"module-alias": "2.2.3",
|
|
"notion-to-md": "3.1.1",
|
|
"oauth-1.0a": "2.2.6",
|
|
"pac-proxy-agent": "7.0.1",
|
|
"plist": "3.1.0",
|
|
"proxy-chain": "2.4.0",
|
|
"puppeteer": "21.9.0",
|
|
"puppeteer-extra": "3.3.6",
|
|
"puppeteer-extra-plugin-stealth": "2.11.2",
|
|
"puppeteer-extra-plugin-user-data-dir": "2.4.1",
|
|
"puppeteer-extra-plugin-user-preferences": "2.4.1",
|
|
"query-string": "7.1.3",
|
|
"re2js": "0.4.1",
|
|
"require-all": "3.0.0",
|
|
"rfc4648": "1.5.3",
|
|
"rss-parser": "3.13.0",
|
|
"sanitize-html": "2.11.0",
|
|
"simplecc-wasm": "0.1.5",
|
|
"socks-proxy-agent": "8.0.2",
|
|
"source-map": "0.7.4",
|
|
"tiny-async-pool": "2.1.0",
|
|
"title": "3.5.3",
|
|
"tough-cookie": "4.1.3",
|
|
"twitter-api-v2": "1.16.0",
|
|
"uuid": "9.0.1",
|
|
"winston": "3.11.0",
|
|
"xxhash-wasm": "1.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "7.23.9",
|
|
"@babel/preset-typescript": "7.23.3",
|
|
"@jest/globals": "29.7.0",
|
|
"@microsoft/eslint-formatter-sarif": "3.0.0",
|
|
"@stylistic/eslint-plugin-js": "1.5.4",
|
|
"@types/aes-js": "3.1.4",
|
|
"@types/crypto-js": "4.2.2",
|
|
"@types/eslint": "8.56.2",
|
|
"@types/eslint-config-prettier": "6.11.3",
|
|
"@types/etag": "1.8.3",
|
|
"@types/fs-extra": "11.0.4",
|
|
"@types/git-rev-sync": "2.0.2",
|
|
"@types/html-to-text": "9.0.4",
|
|
"@types/imapflow": "1.0.17",
|
|
"@types/jsdom": "21.1.6",
|
|
"@types/json-bigint": "1.0.4",
|
|
"@types/koa": "2.14.0",
|
|
"@types/koa-basic-auth": "2.0.6",
|
|
"@types/koa-favicon": "2.1.3",
|
|
"@types/koa-mount": "4.0.5",
|
|
"@types/koa-static": "4.0.4",
|
|
"@types/koa__router": "12.0.4",
|
|
"@types/lint-staged": "13.3.0",
|
|
"@types/mailparser": "3.4.4",
|
|
"@types/markdown-it": "13.0.7",
|
|
"@types/module-alias": "2.0.4",
|
|
"@types/plist": "3.0.5",
|
|
"@types/request-promise-native": "1.0.21",
|
|
"@types/require-all": "3.0.6",
|
|
"@types/supertest": "6.0.2",
|
|
"@types/tiny-async-pool": "2.0.3",
|
|
"@types/tough-cookie": "4.0.5",
|
|
"@typescript-eslint/eslint-plugin": "6.19.1",
|
|
"@typescript-eslint/parser": "6.19.1",
|
|
"@vercel/nft": "0.26.2",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-nibble": "8.1.0",
|
|
"eslint-plugin-n": "16.6.2",
|
|
"eslint-plugin-prettier": "5.1.3",
|
|
"eslint-plugin-unicorn": "50.0.1",
|
|
"eslint-plugin-yml": "1.12.2",
|
|
"fs-extra": "11.2.0",
|
|
"husky": "9.0.6",
|
|
"jest": "29.7.0",
|
|
"jest-junit": "16.0.0",
|
|
"lint-staged": "15.2.0",
|
|
"mockdate": "3.0.5",
|
|
"nock": "13.5.0",
|
|
"prettier": "3.2.4",
|
|
"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",
|
|
"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",
|
|
"string-width": "7.1.0",
|
|
"supertest": "6.3.4",
|
|
"to-vfile": "8.0.0",
|
|
"tosource": "2.0.0-alpha.3",
|
|
"ts-jest": "29.1.2",
|
|
"tsx": "4.7.0",
|
|
"typescript": "5.3.3",
|
|
"unified": "9.2.2",
|
|
"unist-util-visit": "4.1.2",
|
|
"unist-util-visit-parents": "5.1.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"reporters": [
|
|
"default",
|
|
"jest-junit"
|
|
]
|
|
}
|