-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
70 lines (70 loc) · 2.7 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
{
"name": "lustpress",
"version": "1.6.3-alpha",
"description": "RESTful and experimental API for PornHub and other porn sites, which official is lack even isn't exist.",
"main": "build/src/index.js",
"scripts": {
"build": "rimraf build && tsc",
"start": "node build/src/index.js",
"test": "ts-node test/test.ts",
"test:mock": "ts-node test/mock.ts",
"start:prod": "npm run build && node build/src/index.js",
"start:dev": "ts-node-dev src/index.ts",
"start:flyctl": "flyctl deploy",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --fix",
"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/v11 -o theme.zip && unzip theme.zip && mv apidocjs-theme-11 template",
"build:apidoc": "npm run build:template && apidoc -i src -o ./docs -t ./template/template-scarlet",
"test:pornhub": "start-server-and-test 3000 \"curl -v http://localhost:3000/pornhub/random | jq '.'\"",
"test:xnxx": "start-server-and-test 3000 \"curl -v http://localhost:3000/xnxx/random | jq '.'\"",
"test:redtube": "start-server-and-test 3000 \"curl -v http://localhost:3000/redtube/random | jq '.'\"",
"test:xvideos": "start-server-and-test 3000 \"curl -v http://localhost:3000/xvideos/random | jq '.'\"",
"test:xhamster": "start-server-and-test 3000 \"curl -v http://localhost:3000/xhamster/random | jq '.'\"",
"test:youporn": "start-server-and-test 3000 \"curl -v http://localhost:3000/youporn/random | jq '.'\""
},
"apidoc": {
"title": "Lustpress API Documentation",
"url": "https://lust.scathach.id",
"sampleUrl": "https://lust.scathach.id",
"name": "Lustpress"
},
"keywords": [],
"author": "sinkaroid",
"repository": {
"type": "git",
"url": "git+https://github.com/sinkaroid/lustpress.git"
},
"license": "MIT",
"dependencies": {
"@keyv/redis": "^2.5.7",
"cheerio": "^1.0.0-rc.12",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"express-slow-down": "^1.6.0",
"keyv": "^4.5.2",
"phin": "^3.7.0",
"pino": "^8.11.0",
"pino-pretty": "^10.0.0"
},
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/express-slow-down": "^1.3.2",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"apidoc": "0.29.0",
"eslint": "^8.38.0",
"rimraf": "^5.0.0",
"start-server-and-test": "^2.0.0",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=14"
}
}