Add initial project structure with Docker support and chapter downloading functionality
- Created .dockerignore and .gitignore files to exclude unnecessary files from Docker builds. - Added Dockerfile for multi-stage build setup, including dependencies and production environment configuration. - Introduced docker-compose.yml for service orchestration, including FlareSolverr and the main application. - Implemented core functionality for downloading manga chapters, including utilities for handling file paths and chapter metadata. - Added ESLint configuration for code quality and consistency. - Included JSDoc configuration for documentation generation. - Established initial package.json and package-lock.json with necessary dependencies for the project.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"name": "cxyz",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"start": "node src/index.js",
|
||||
"web": "node src/server/index.js",
|
||||
"dev:web": "vite --config web/vite.config.mjs",
|
||||
"build:web": "vite build --config web/vite.config.mjs",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"docs": "jsdoc -c jsdoc.conf.json",
|
||||
"mangaread:fetch": "node src/mangareadFetchChapters.js",
|
||||
"manhwasusu:fetch": "node src/manhwasusu/fetchChapters.cli.js",
|
||||
"manhwasusu:chapter-cbz": "node src/manhwasusu/downloadChapterCbz.js",
|
||||
"manhwasusu:chapters-cbz": "node src/manhwasusu/downloadChaptersQueue.js",
|
||||
"mangaread:chapter-cbz": "node src/downloadChapterCbz.js",
|
||||
"mangaread:chapters-cbz": "node src/downloadChaptersQueue.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@fastify/static": "^10.1.2",
|
||||
"@picocss/pico": "^2.1.1",
|
||||
"adm-zip": "^0.5.17",
|
||||
"axios": "^1.16.1",
|
||||
"better-sqlite3": "^13.0.2",
|
||||
"fastify": "^5.11.0",
|
||||
"node-cron": "^4.6.0",
|
||||
"node-html-parser": "^7.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
||||
"eslint": "^10.4.0",
|
||||
"eslint-plugin-jsdoc": "^62.9.0",
|
||||
"globals": "^17.6.0",
|
||||
"jsdoc": "^4.0.5",
|
||||
"svelte": "^5.56.8",
|
||||
"vite": "^8.2.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user