Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "paper-search-cli",
"version": "0.3.4",
"description": "Agent-friendly CLI for searching and downloading academic papers from multiple sources.",
"main": "dist/cli.js",
"type": "module",
"bin": {
"paper-search": "dist/cli.js"
},
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
"build": "npm run clean && tsc && node -e \"require('fs').chmodSync('dist/cli.js',0o755)\"",
"start": "node dist/cli.js",
"start:cli": "tsx src/cli.ts",
"dev": "tsx src/cli.ts",
"test": "jest",
"lint": "eslint src/**/*.ts",
"format": "prettier --write src/**/*.ts",
"prepublishOnly": "npm test -- --runInBand && npm run build"
},
"files": [
"dist/",
"README.md",
"README.zh.md",
"skills/",
"LICENSE",
".env.example"
],
"keywords": [
"cli",
"academic-papers",
"research",
"arxiv",
"pubmed",
"web-of-science",
"nodejs",
"typescript"
],
"author": "dianel; CLI adaptation by dr-dumpling",
"license": "MIT",
"dependencies": {
"@types/cheerio": "^0.22.35",
"axios": "^1.7.2",
"cheerio": "^1.1.2",
"dotenv": "^16.4.5",
"https-proxy-agent": "^7.0.0",
"lru-cache": "^11.2.5",
"pdf-parse": "^1.1.4",
"socks-proxy-agent": "^8.0.0",
"xml2js": "^0.6.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/lru-cache": "^7.10.9",
"@types/node": "^20.14.10",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"ts-jest": "^29.2.5",
"tsx": "^4.16.2",
"typescript": "^5.5.3"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"extensionsToTreatAsEsm": [
".ts"
],
"transformIgnorePatterns": [
"node_modules/(?!(p-limit|yocto-queue)/)"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"testMatch": [
"**/tests/**/*.test.ts",
"**/__tests__/**/*.test.ts"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts"
]
},
"overrides": {
"entities": "^6.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dr-dumpling/paper-search-cli.git"
},
"homepage": "https://github.com/dr-dumpling/paper-search-cli#readme",
"bugs": {
"url": "https://github.com/dr-dumpling/paper-search-cli/issues"
}
}