jandapress/package.json

57 行
2.3 KiB
JSON

{
"name": "jandapress",
"version": "1.0.14",
"description": "Experimental doujin API with gather in mind",
"main": "build/src/index.js",
"scripts": {
"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",
"postinstall": "npm run build",
"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 '.'\""
},
"keywords": [],
"author": "sinkaroid",
"license": "MIT",
"dependencies": {
"cheerio": "^1.0.0-rc.11",
"cors": "^2.8.5",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"express-slow-down": "^1.4.0",
"phin": "^3.6.1",
"pino": "^7.11.0",
"pino-pretty": "^8.0.0"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express-rate-limit": "^6.0.0",
"@types/express-slow-down": "^1.3.2",
"@types/node": "^14.14.37",
"@types/tough-cookie": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"dotenv": "^16.0.1",
"eslint": "^7.32.0",
"npx": "^10.2.2",
"start-server-and-test": "^1.14.0",
"ts-node": "^10.8.1",
"ts-node-dev": "^2.0.0",
"typescript": "4.6.3"
},
"engines": {
"node": ">=14"
}
}