lustpress/package.json

71 行
2.7 KiB
JSON

{
"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"
}
}