-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
76 lines (76 loc) · 3.3 KB
/
package.json
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
{
"name": "jandapress",
"version": "3.8.2-alpha",
"description": "RESTful and experimental API for the Doujinshi, Pressing the whole nhentai, pururin, hentaifox, and more.. where the official one is lack.",
"main": "build/src/index.js",
"scripts": {
"build": "rimraf build && tsc",
"start": "node build/src/index.js",
"test": "ts-node test/test.ts",
"test:cf": "ts-node test/nhentaiCookietest.ts",
"start:prod": "npm run build && node build/src/index.js",
"start:dev": "ts-node-dev src/index.ts",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --fix",
"test:mock": "ts-node test/mock.ts",
"build:freshdoc": "rimraf docs && rimraf template && rimraf theme.zip",
"build:template": " npm run build:freshdoc && curl https://codeload.github.com/ScathachGrip/apidocjs-theme/zip/refs/tags/v9 -o theme.zip && unzip theme.zip && mv apidocjs-theme-9 template",
"build:apidoc": "npm run build:template && npx apidoc -i src -o ./docs -t ./template/template-marine",
"test:nhentai": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/nhentai/get?book=177013 | jq '.'\"",
"test:pururin": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/pururin/get?book=47226 | jq '.'\"",
"test:hentaifox": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/hentaifox/get?book=59026 | jq '.'\"",
"test:asmhentai": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/asmhentai/get?book=308830 | jq '.'\"",
"test:hentai2read": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/hentai2read/get?book=butabako_shotaone_matome_fgo_hen/1 | jq '.'\"",
"test:simply-hentai": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/simply-hentai/get?book=fate-grand-order/fgo-sanbunkatsuhou/all-pages | jq '.'\"",
"test:3hentai": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/3hentai/get?book=608979 | jq '.'\"",
"test:nhentaito": "npx start-server-and-test 3000 \"curl -v http://localhost:3000/nhentaito/get?book=272 | jq '.'\""
},
"apidoc": {
"title": "Jandapress API Documentation",
"url": "https://janda.sinkaroid.org",
"sampleUrl": "https://janda.sinkaroid.org",
"name": "Jandapress"
},
"keywords": [],
"author": "sinkaroid",
"repository": {
"type": "git",
"url": "git+https://github.com/sinkaroid/jandapress.git"
},
"license": "MIT",
"dependencies": {
"@keyv/redis": "^2.5.4",
"cheerio": "^1.0.0-rc.11",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"express-slow-down": "^1.4.0",
"http-cookie-agent": "^5.0.2",
"keyv": "^4.5.2",
"phin": "^3.6.1",
"pino": "^8.7.0",
"pino-pretty": "^9.2.0",
"tough-cookie": "^4.1.2"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/express-slow-down": "^1.3.2",
"@types/node": "^18.11.13",
"@types/tough-cookie": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"apidoc": "^0.29.0",
"eslint": "^8.29.0",
"npx": "^10.2.2",
"rimraf": "^4.1.2",
"start-server-and-test": "^1.14.0",
"ts-node": "^10.8.1",
"ts-node-dev": "^2.0.0",
"typescript": "4.9.4"
},
"engines": {
"node": ">=14"
}
}