Files
RSSHub/package.json

187 lines
6.5 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.ts",
"files": [
"lib"
],
"type": "module",
"scripts": {
"build": "tsx scripts/workflow/build-routes.ts",
"build:docs": "tsx scripts/workflow/build-docs.ts",
"dev": "cross-env NODE_ENV=dev tsx watch --no-cache lib/index.ts",
"dev:cache": "cross-env NODE_ENV=production tsx watch lib/index.ts",
"dev:cf": "wrangler dev lib/cf.tsx",
"deploy:cf": "wrangler deploy --minify lib/cf.tsx",
"format": "eslint --cache --fix \"**/*.{ts,js,yml}\" && prettier \"**/*.{ts,js,json}\" --write",
"format:check": "eslint --cache \"**/*.{ts,js,yml}\" && prettier \"**/*.{ts,js,json}\" --check",
"format:staged": "lint-staged",
"vitest": "cross-env NODE_ENV=test vitest",
"vitest:fullroutes": "cross-env NODE_ENV=test FULL_ROUTES_TEST=true vitest --reporter=json --reporter=default --outputFile=\"./assets/build/test-full-routes.json\" routes",
"vitest:coverage": "cross-env NODE_ENV=test vitest --coverage.enabled --reporter=junit",
"vitest:watch": "cross-env NODE_ENV=test vitest --watch",
"lint": "eslint --cache .",
"prepare": "husky || true",
"profiling": "cross-env NODE_ENV=production tsx --prof lib/index.ts",
"start": "cross-env NODE_ENV=production tsx lib/index.ts",
"test": "npm run format:check && npm run vitest: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"
],
"*.yml": "eslint --cache --fix"
},
"dependencies": {
"@hono/node-server": "1.9.0",
"@hono/swagger-ui": "0.2.1",
"@hono/zod-openapi": "0.9.10",
"@notionhq/client": "2.2.14",
"@postlight/parser": "2.2.3",
"@sentry/node": "7.109.0",
"@tonyrl/rand-user-agent": "2.0.56",
"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",
"cross-env": "7.0.3",
"crypto-js": "4.2.0",
"currency-symbol-map": "5.1.0",
"dayjs": "1.11.8",
"destr": "2.0.3",
"directory-import": "3.3.1",
"dotenv": "16.4.5",
"entities": "4.5.0",
"etag": "1.8.1",
"fanfou-sdk": "5.0.0",
"form-data": "4.0.0",
"git-rev-sync": "3.0.2",
"googleapis": "134.0.0",
"hono": "4.1.5",
"html-to-text": "9.0.5",
"https-proxy-agent": "7.0.4",
"iconv-lite": "0.6.3",
"imapflow": "1.0.158",
"instagram-private-api": "1.46.1",
"ioredis": "5.3.2",
"ip-regex": "5.0.0",
"jsdom": "24.0.0",
"json-bigint": "1.0.0",
"jsrsasign": "10.9.0",
"lru-cache": "10.2.0",
"lz-string": "1.5.0",
"mailparser": "3.6.9",
"markdown-it": "14.1.0",
"module-alias": "2.2.3",
"notion-to-md": "3.1.1",
"oauth-1.0a": "2.2.6",
"ofetch": "1.3.4",
"otplib": "12.0.1",
"pac-proxy-agent": "7.0.1",
"proxy-chain": "2.4.0",
"puppeteer": "22.6.1",
"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": "9.0.0",
"re2js": "0.4.1",
"rfc4648": "1.5.3",
"rss-parser": "3.13.0",
"sanitize-html": "2.13.0",
"simplecc-wasm": "0.1.5",
"socks-proxy-agent": "8.0.2",
"source-map": "0.7.4",
"telegram": "2.20.2",
"tiny-async-pool": "2.1.0",
"title": "3.5.3",
"tldts": "6.1.16",
"tough-cookie": "4.1.3",
"tsx": "4.7.1",
"twitter-api-v2": "1.16.1",
"undici": "6.10.2",
"uuid": "9.0.1",
"winston": "3.13.0",
"wrangler": "3.36.0",
"xxhash-wasm": "1.0.2",
"zod": "3.22.4"
},
"devDependencies": {
"@babel/preset-env": "7.24.3",
"@babel/preset-typescript": "7.24.1",
"@microsoft/eslint-formatter-sarif": "3.0.0",
"@stylistic/eslint-plugin": "1.7.0",
"@types/aes-js": "3.1.4",
"@types/crypto-js": "4.2.2",
"@types/eslint": "8.56.6",
"@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.18",
"@types/jsdom": "21.1.6",
"@types/json-bigint": "1.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/node": "20.11.30",
"@types/request-promise-native": "1.0.21",
"@types/sanitize-html": "2.11.0",
"@types/supertest": "6.0.2",
"@types/tiny-async-pool": "2.0.3",
"@types/tough-cookie": "4.0.5",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"@vercel/nft": "0.26.4",
"@vitest/coverage-v8": "1.4.0",
"eslint": "8.57.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": "51.0.1",
"eslint-plugin-yml": "1.13.2",
"fs-extra": "11.2.0",
"got": "14.2.1",
"husky": "9.0.11",
"js-beautify": "1.15.1",
"lint-staged": "15.2.2",
"mockdate": "3.0.5",
"msw": "2.2.13",
"prettier": "3.2.5",
"remark-parse": "11.0.0",
"supertest": "6.3.4",
"tosource": "2.0.0-alpha.3",
"typescript": "5.4.3",
"unified": "11.0.4",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.4.0"
},
"engines": {
"node": ">=20"
}
}