RSSHub/package.json

182 lines
5.0 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 nodemon --inspect lib/index.js",
"format": "eslint \"**/*.{js,yml}\" --fix && node docs/.format/format.js && prettier \"**/*.{js,json}\" --write",
"format:check": "eslint \"**/*.{js,yml}\" && prettier-check \"**/*.{js,json}\"",
"format:staged": "eslint \"**/*.{js,yml}\" --fix && node docs/.format/format.js --staged && pretty-quick --staged --verbose --pattern \"**/*.{js,json}\"",
"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 .",
"profiling": "NODE_ENV=production node --prof lib/index.js",
"start": "node lib/index.js",
"test": "npm run format:check && npm run jest:coverage"
},
"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": [
"**/test/**/*.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
]
},
"jest-junit": {
"outputDirectory": "coverage"
},
"dependencies": {
"@koa/router": "12.0.0",
"@postlight/parser": "2.2.3",
"@sentry/node": "7.50.0",
"aes-js": "3.1.2",
"art-template": "4.13.2",
"bbcodejs": "0.0.4",
"cheerio": "1.0.0-rc.12",
"chrono-node": "2.6.3",
"city-timezones": "1.2.1",
"crypto-js": "4.1.1",
"currency-symbol-map": "5.1.0",
"dayjs": "1.11.7",
"dotenv": "16.0.3",
"emailjs-imap-client": "3.1.0",
"entities": "4.5.0",
"etag": "1.8.1",
"fanfou-sdk": "4.2.0",
"git-rev-sync": "3.0.2",
"googleapis": "118.0.0",
"got": "11.8.6",
"https-proxy-agent": "5.0.1",
"iconv-lite": "0.6.3",
"instagram-private-api": "1.45.3",
"ioredis": "5.3.2",
"ip-regex": "4.3.0",
"is-localhost-ip": "2.0.0",
"jsdom": "21.1.1",
"json-bigint": "1.0.0",
"json5": "2.2.3",
"koa": "2.14.2",
"koa-basic-auth": "4.0.0",
"koa-favicon": "2.1.0",
"koa-mount": "4.0.0",
"lru-cache": "9.1.1",
"lz-string": "1.5.0",
"mailparser": "3.6.4",
"markdown-it": "13.0.1",
"module-alias": "2.2.2",
"pidusage": "3.0.2",
"plist": "3.0.6",
"proxy-chain": "2.3.0",
"puppeteer": "19.11.1",
"puppeteer-extra": "3.3.6",
"puppeteer-extra-plugin-stealth": "2.11.2",
"query-string": "7.1.3",
"rand-user-agent": "1.0.109",
"re2": "1.18.0",
"require-all": "3.0.0",
"rss-parser": "3.13.0",
"showdown": "2.1.0",
"simplecc-wasm": "0.1.5",
"socks-proxy-agent": "7.0.0",
"source-map": "0.7.4",
"string-similarity": "4.0.4",
"tiny-async-pool": "2.1.0",
"tough-cookie": "4.1.2",
"twitter-api-v2": "1.14.2",
"winston": "3.8.2",
"xml2js": "0.5.0"
},
"devDependencies": {
"@microsoft/eslint-formatter-sarif": "3.0.0",
"@types/koa": "2.13.6",
"@vercel/nft": "0.22.6",
"cross-env": "7.0.3",
"eslint": "8.39.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-n": "15.7.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-yml": "1.5.0",
"fs-extra": "11.1.1",
"jest": "29.5.0",
"jest-junit": "16.0.0",
"mockdate": "3.0.5",
"nock": "13.3.1",
"nodemon": "2.0.22",
"prettier": "2.8.8",
"prettier-check": "2.0.0",
"pretty-quick": "3.1.3",
"remark": "13.0.0",
"remark-frontmatter": "3.0.0",
"remark-gfm": "1.0.0",
"remark-pangu": "2.2.0",
"remark-parse": "9.0.0",
"remark-preset-prettier": "0.5.1",
"remark-stringify": "9.0.1",
"request-promise-native": "1.0.9",
"staged-git-files": "1.3.0",
"string-width": "4.2.3",
"supertest": "6.3.3",
"tosource": "2.0.0-alpha.3",
"unified": "9.2.2",
"yorkie": "2.0.0"
},
"engines": {
"node": ">=16"
},
"gitHooks": {
"pre-commit": "npm run format:staged"
},
"reporters": [
"default",
"jest-junit"
]
}