d36e8ec85f
* remove test_web * integrate reactjs-vite * update lint-staged * simple cors proxy server which handles cookies and redirections * overrider global fetch with proxy call * simple examples for set cookies and fetch request * app bar * add redux * loadPlugins. error: cant load urlencode module * add ts-node for transforming * plugin search & select * plugin slice * accordion components * path item & popular novel * optional for filters * search novel * parse novel * parseChapter * update cookies * default filters * fix: import path * bundler module resolution * new json_plugins * fix: generate multisrc (missing filters) * fix: host scripts * fix: plugin code path * remove typechecking action
62 lines
2.1 KiB
JSON
62 lines
2.1 KiB
JSON
{
|
|
"name": "lnreader-plugins",
|
|
"version": "3.0.0",
|
|
"description": "Plugins repo for LNReader",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "concurrently \"npm run dev\" \"npm run proxy\"",
|
|
"dev": "vite",
|
|
"proxy": "node proxy_server.js",
|
|
"test": "exit 0",
|
|
"json": "node ./scripts/json_plugins.js",
|
|
"generate": "node ./scripts/multisrc/generate.js",
|
|
"clearMultisrc": "find . -type f -wholename \"*plugins*\\[*\\]*.[t,j]s\" -delete",
|
|
"host-linux": "chmod +x ./host.sh && ./host.sh",
|
|
"host-windows": "powershell ./host.ps1",
|
|
"prettier": "prettier --write \"./**/*.{js,ts}\"",
|
|
"prepare": "husky install",
|
|
"icons": "npm run clearMultisrc && npm run generate && npm run json && ts-node ./scripts/icon_reloading.ts"
|
|
},
|
|
"author": "LNReader",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@emotion/react": "^11.11.4",
|
|
"@emotion/styled": "^11.11.5",
|
|
"@fontsource/roboto": "^5.0.13",
|
|
"@mui/icons-material": "^5.15.20",
|
|
"@mui/material": "^5.15.20",
|
|
"@reduxjs/toolkit": "^2.2.5",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"dayjs": "^1.11.10",
|
|
"htmlparser2": "^9.1.0",
|
|
"protobufjs": "^7.2.6",
|
|
"qs": "^6.11.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-redux": "^9.1.2",
|
|
"react-virtuoso": "^4.7.11",
|
|
"react-window": "^1.8.10",
|
|
"sanitize-html": "^2.12.1",
|
|
"urlencode": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/qs": "^6.9.15",
|
|
"@types/react": "^18.2.66",
|
|
"@types/react-dom": "^18.2.22",
|
|
"@types/react-window": "^1.8.8",
|
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
"concurrently": "^8.2.2",
|
|
"http-proxy": "^1.18.1",
|
|
"husky": "^9.0.11",
|
|
"image-size": "^1.1.1",
|
|
"lint-staged": "^15.2.2",
|
|
"prettier": "3.2.5",
|
|
"terser": "^5.31.1",
|
|
"ts-node": "^10.9.2",
|
|
"vite": "^5.2.0"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,ts,jsx,tsx}": "prettier --write"
|
|
}
|
|
} |