2022-06-03 11:35:47 +09:00
{
"name" : "jandapress" ,
2023-08-04 21:29:21 +09:00
"version" : "3.8.2-alpha" ,
2022-12-23 12:04:22 +09:00
"description" : "RESTful and experimental API for the Doujinshi, Pressing the whole nhentai, pururin, hentaifox, and more.. where the official one is lack." ,
2022-06-04 07:47:25 +09:00
"main" : "build/src/index.js" ,
2022-06-03 11:35:47 +09:00
"scripts" : {
2022-12-22 00:03:22 +09:00
"build" : "rimraf build && tsc" ,
2022-06-04 07:47:25 +09:00
"start" : "node build/src/index.js" ,
2022-06-04 16:21:27 +09:00
"test" : "ts-node test/test.ts" ,
2022-06-07 17:42:43 +09:00
"test:cf" : "ts-node test/nhentaiCookietest.ts" ,
2022-06-04 07:47:25 +09:00
"start:prod" : "npm run build && node build/src/index.js" ,
2022-08-12 04:34:49 +09:00
"start:dev" : "ts-node-dev src/index.ts" ,
2022-06-03 11:35:47 +09:00
"lint" : "npx eslint . --ext .ts" ,
2022-06-03 12:20:59 +09:00
"lint:fix" : "npx eslint . --fix" ,
2023-05-16 17:04:12 +09:00
"test:mock" : "ts-node test/mock.ts" ,
2022-12-23 12:04:22 +09:00
"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" ,
2022-06-15 00:56:50 +09:00
"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 '.'\"" ,
2022-10-01 12:13:22 +09:00
"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 '.'\"" ,
2023-05-16 17:04:12 +09:00
"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 '.'\""
2022-06-03 11:35:47 +09:00
} ,
2022-12-23 12:04:22 +09:00
"apidoc" : {
"title" : "Jandapress API Documentation" ,
2023-04-12 00:16:38 +09:00
"url" : "https://janda.sinkaroid.org" ,
"sampleUrl" : "https://janda.sinkaroid.org" ,
2022-12-23 12:04:22 +09:00
"name" : "Jandapress"
} ,
2022-06-03 11:35:47 +09:00
"keywords" : [ ] ,
"author" : "sinkaroid" ,
2022-12-14 04:44:16 +09:00
"repository" : {
"type" : "git" ,
"url" : "git+https://github.com/sinkaroid/jandapress.git"
} ,
2022-06-03 11:35:47 +09:00
"license" : "MIT" ,
"dependencies" : {
2022-12-22 00:03:22 +09:00
"@keyv/redis" : "^2.5.4" ,
2022-06-03 11:35:47 +09:00
"cheerio" : "^1.0.0-rc.11" ,
2022-07-01 07:32:57 +09:00
"cors" : "^2.8.5" ,
2022-12-23 12:04:22 +09:00
"dotenv" : "^16.0.1" ,
2022-06-03 11:35:47 +09:00
"express" : "^4.18.1" ,
"express-rate-limit" : "^6.4.0" ,
"express-slow-down" : "^1.4.0" ,
2023-02-11 02:17:45 +09:00
"http-cookie-agent" : "^5.0.2" ,
2022-12-22 00:03:22 +09:00
"keyv" : "^4.5.2" ,
2022-06-03 11:35:47 +09:00
"phin" : "^3.6.1" ,
2022-12-23 12:04:22 +09:00
"pino" : "^8.7.0" ,
2023-02-11 04:35:12 +09:00
"pino-pretty" : "^9.2.0" ,
2023-02-11 02:17:45 +09:00
"tough-cookie" : "^4.1.2"
2022-06-03 11:35:47 +09:00
} ,
"devDependencies" : {
2022-07-01 07:32:57 +09:00
"@types/cors" : "^2.8.12" ,
2022-12-14 04:44:16 +09:00
"@types/express" : "^4.17.14" ,
2022-06-03 11:35:47 +09:00
"@types/express-slow-down" : "^1.3.2" ,
2022-12-14 04:44:16 +09:00
"@types/node" : "^18.11.13" ,
2022-06-07 17:42:43 +09:00
"@types/tough-cookie" : "^4.0.2" ,
2022-06-03 11:35:47 +09:00
"@typescript-eslint/eslint-plugin" : "^5.18.0" ,
"@typescript-eslint/parser" : "^5.18.0" ,
2022-12-23 12:04:22 +09:00
"apidoc" : "^0.29.0" ,
2022-12-14 04:44:16 +09:00
"eslint" : "^8.29.0" ,
2022-06-03 11:35:47 +09:00
"npx" : "^10.2.2" ,
2023-02-11 04:35:12 +09:00
"rimraf" : "^4.1.2" ,
2022-06-14 17:56:45 +09:00
"start-server-and-test" : "^1.14.0" ,
2022-06-04 16:21:27 +09:00
"ts-node" : "^10.8.1" ,
2022-08-12 04:34:49 +09:00
"ts-node-dev" : "^2.0.0" ,
2022-12-14 04:44:16 +09:00
"typescript" : "4.9.4"
2022-06-03 11:35:47 +09:00
} ,
"engines" : {
2022-06-15 00:56:50 +09:00
"node" : ">=14"
2022-06-03 11:35:47 +09:00
}
2023-02-11 02:17:45 +09:00
}