refactor: Classes for Plugins (#631)

* set target to ES5

* refactor types

* use .gitkeep

* use dot to make dist/js dirs on top

* add hako

* add Hako

* add madara

* fix: url path js -> .js

* fix: branch

* freestyle for using UA, cookie

* add parseNovels for Hako

* update readme

* fix: conflict types

* add Kolnovel, remove node-fetch

* add bestlightnovel

* add plugins

* WQMangaStreamScraper
* PandaMTL
* NobleMTL
* LightNovelBrasil
* WPMangaStream

* add filters for popularNovels

* fix undefined json

* Linovelib (#26)

* linovelib CN

* icon for linovelib

* fix undefined chapter

* add check

* fix: add artist

* TuNovelaLigera ES + Madara Fix (#28)

* app repo test

* POST is now working

* update madara template + run generator

* template fix didnt get pushed commited idk why

* template update POST

* generated

* fix: useNewChapterEndpoint update (#29)

* useNewChapterEndpoint update

* Update Selectors

---------

Co-authored-by: K1ngfish3r <trulyihu@gmail.com>
This commit is contained in:
nyagami
2023-11-04 17:15:49 +07:00
committed by GitHub
parent 538841ddee
commit 20efcf404c
295 changed files with 67636 additions and 57286 deletions
+8 -8
View File
@@ -6,8 +6,9 @@
"scripts": {
"start": "nodemon",
"test": "exit 0",
"json": "tsc && node ./js/scripts/json_plugins.js && git add plugins && git add dist && git add js/plugins",
"generate": "ts-node ./scripts/multisrc/generate.ts"
"json": "tsc && node ./.js/scripts/json_plugins.js && git add plugins && git add .dist && git add .js/plugins",
"generate": "ts-node ./scripts/multisrc/generate.ts",
"clearMulti": "ts-node ./scripts/clearMultisrc.ts"
},
"author": "",
"license": "MIT",
@@ -18,17 +19,16 @@
"dayjs": "^1.11.4",
"express": "^4.18.2",
"module-alias": "^2.2.2",
"node-fetch": "^3",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.6",
"typescript": "^5.1.3"
},
"_moduleAliases": {
"@libs": "./js/libs",
"@icons": "./js/icons",
"@plugins": "./js/plugins",
"@scripts": "./js/scripts",
"@typings": "./js/types"
"@libs": "./.js/libs",
"@icons": "./.js/icons",
"@plugins": "./.js/plugins",
"@scripts": "./.js/scripts",
"@typings": "./.js/types"
},
"devDependencies": {
"@types/express": "^4.17.17",