mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
207 lines
6.8 KiB
JSON
207 lines
6.8 KiB
JSON
{
|
|
"name": "flood",
|
|
"version": "4.0.2",
|
|
"description": "A modern Web UI for various torrent clients with multi-user and multi-client support",
|
|
"keywords": [
|
|
"typescript",
|
|
"react",
|
|
"node",
|
|
"webui",
|
|
"web ui",
|
|
"rTorrent",
|
|
"qBittorrent",
|
|
"Transmission"
|
|
],
|
|
"private": false,
|
|
"license": "GPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jesec/flood.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jesec/flood/issues"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"bin": {
|
|
"flood": "dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build-assets && npm run build-ts",
|
|
"build-assets": "node client/scripts/build.js",
|
|
"build-ts": "ncc build server/bin/start.ts -m -t -e geoip-country",
|
|
"build-i18n": "formatjs compile --ast --format simple client/src/javascript/i18n/strings.json --out-file client/src/javascript/i18n/strings.compiled.json && formatjs compile-folder --ast --format simple client/src/javascript/i18n/translations client/src/javascript/i18n/compiled",
|
|
"format-source": "prettier -w .",
|
|
"check-compiled-i18n": "npm run build-i18n && npm run format-source && git diff --quiet client/src/javascript/i18n/compiled",
|
|
"check-source-formatting": "prettier -c .",
|
|
"check-types": "tsc",
|
|
"lint": "NODE_ENV=development eslint --max-warnings 0 . --ext .js --ext .jsx --ext .ts --ext .tsx",
|
|
"prepack": "rm -rf dist && npm run build",
|
|
"start": "node --use_strict dist/index.js",
|
|
"start:development": "UPDATED_SCRIPT=start:development:server npm run deprecated-warning && npm run start:development:server",
|
|
"start:development:client": "node client/scripts/start.js",
|
|
"start:development:server": "NODE_ENV=development TS_NODE_PROJECT=server/tsconfig.json ts-node-dev --transpile-only server/bin/start.ts",
|
|
"test": "jest --forceExit",
|
|
"test:watch": "jest --watchAll --forceExit",
|
|
"test:client": "FLOOD_OPTION_port=4200 start-server-and-test start 4200 'cypress run'"
|
|
},
|
|
"dependencies": {
|
|
"geoip-country": "^4.0.42"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.3",
|
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
"@babel/plugin-proposal-decorators": "^7.12.1",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
|
|
"@babel/preset-env": "^7.12.1",
|
|
"@babel/preset-react": "^7.12.5",
|
|
"@babel/preset-typescript": "^7.12.1",
|
|
"@formatjs/cli": "^2.13.12",
|
|
"@types/bencode": "^2.0.0",
|
|
"@types/body-parser": "^1.19.0",
|
|
"@types/classnames": "^2.2.11",
|
|
"@types/clipboard": "^2.0.1",
|
|
"@types/compression": "^1.7.0",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/create-torrent": "^4.4.0",
|
|
"@types/d3": "^6.1.0",
|
|
"@types/debug": "^4.1.5",
|
|
"@types/express": "^4.17.9",
|
|
"@types/express-rate-limit": "^5.1.0",
|
|
"@types/feedsub": "^0.7.1",
|
|
"@types/fs-extra": "^9.0.4",
|
|
"@types/geoip-country": "^4.0.0",
|
|
"@types/http-errors": "^1.8.0",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/jsonwebtoken": "^8.5.0",
|
|
"@types/morgan": "^1.9.2",
|
|
"@types/nedb": "^1.8.11",
|
|
"@types/node": "^12.19.4",
|
|
"@types/overlayscrollbars": "^1.12.0",
|
|
"@types/passport": "^1.0.4",
|
|
"@types/passport-jwt": "^3.0.3",
|
|
"@types/react": "^16.9.56",
|
|
"@types/react-dnd-multi-backend": "^6.0.0",
|
|
"@types/react-dom": "^16.9.9",
|
|
"@types/react-measure": "^2.0.6",
|
|
"@types/react-router-dom": "^5.1.6",
|
|
"@types/react-transition-group": "^4.4.0",
|
|
"@types/react-window": "^1.8.2",
|
|
"@types/spdy": "^3.4.4",
|
|
"@types/supertest": "^2.0.10",
|
|
"@types/tar": "^4.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
"@typescript-eslint/parser": "^4.7.0",
|
|
"@vercel/ncc": "^0.25.1",
|
|
"autoprefixer": "^10.0.2",
|
|
"axios": "^0.21.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.2.1",
|
|
"bencode": "^2.0.1",
|
|
"body-parser": "^1.19.0",
|
|
"case-sensitive-paths-webpack-plugin": "2.3.0",
|
|
"chalk": "^4.1.0",
|
|
"classnames": "^2.2.6",
|
|
"clipboard": "^2.0.6",
|
|
"compression": "^1.7.4",
|
|
"cookie-parser": "^1.4.5",
|
|
"create-torrent": "^4.4.2",
|
|
"css-loader": "^5.0.1",
|
|
"css-minimizer-webpack-plugin": "^1.1.5",
|
|
"d3-array": "^2.8.0",
|
|
"d3-scale": "^3.2.3",
|
|
"d3-selection": "^2.0.0",
|
|
"d3-shape": "^2.0.0",
|
|
"debug": "^4.2.0",
|
|
"eslint": "^7.13.0",
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
"eslint-config-airbnb-typescript": "^12.0.0",
|
|
"eslint-config-prettier": "^6.15.0",
|
|
"eslint-config-react-app": "^6.0.0",
|
|
"eslint-import-resolver-webpack": "^0.13.0",
|
|
"eslint-loader": "^4.0.2",
|
|
"eslint-plugin-flowtype": "5.2.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest": "^24.1.3",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"express": "^4.17.1",
|
|
"express-rate-limit": "^5.1.3",
|
|
"fast-json-patch": "^3.0.0-1",
|
|
"fast-sort": "^2.2.0",
|
|
"feedsub": "^0.7.3",
|
|
"file-loader": "^6.2.0",
|
|
"form-data": "^3.0.0",
|
|
"frontmatter-markdown-loader": "^3.6.1",
|
|
"fs-extra": "^9.0.1",
|
|
"get-user-locale": "^1.4.0",
|
|
"glob": "^7.1.6",
|
|
"hash-wasm": "^4.4.0",
|
|
"html-webpack-plugin": "^5.0.0-alpha.10",
|
|
"http-errors": "^1.8.0",
|
|
"jest": "^26.6.3",
|
|
"js-file-download": "^0.4.12",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"lodash": "^4.17.20",
|
|
"mini-css-extract-plugin": "^1.3.1",
|
|
"mobx": "^6.0.4",
|
|
"mobx-react": "^7.0.5",
|
|
"morgan": "^1.10.0",
|
|
"nedb": "^1.8.0",
|
|
"node-sass": "^5.0.0",
|
|
"overlayscrollbars": "^1.13.0",
|
|
"overlayscrollbars-react": "^0.2.2",
|
|
"passport": "^0.4.1",
|
|
"passport-jwt": "^4.0.0",
|
|
"postcss": "^8.1.7",
|
|
"postcss-loader": "^4.0.4",
|
|
"prettier": "^2.1.2",
|
|
"promise": "^8.1.0",
|
|
"react": "^17.0.1",
|
|
"react-dev-utils": "^11.0.0",
|
|
"react-dnd": "^11.1.3",
|
|
"react-dnd-html5-backend": "^11.1.3",
|
|
"react-dnd-multi-backend": "^6.0.2",
|
|
"react-dnd-touch-backend": "^11.1.3",
|
|
"react-dom": "^17.0.1",
|
|
"react-dropzone": "^11.2.4",
|
|
"react-intl": "^5.10.1",
|
|
"react-measure": "^2.5.2",
|
|
"react-router": "^5.2.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-transition-group": "^4.4.1",
|
|
"react-use": "^15.3.4",
|
|
"react-window": "^1.8.6",
|
|
"ress": "^3.0.0",
|
|
"sanitize-filename": "^1.6.3",
|
|
"sass-loader": "^10.1.0",
|
|
"saxen": "^8.1.2",
|
|
"source-map-loader": "^1.1.2",
|
|
"spdy": "^4.0.2",
|
|
"style-loader": "^2.0.0",
|
|
"supertest": "^6.0.1",
|
|
"tar": "^6.0.5",
|
|
"terser-webpack-plugin": "^5.0.3",
|
|
"ts-jest": "^26.4.4",
|
|
"ts-node-dev": "^1.0.0",
|
|
"typed-emitter": "^1.3.1",
|
|
"typescript": "^4.0.5",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.4.0",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpackbar": "^5.0.0-3",
|
|
"xmlrpc": "^1.3.2",
|
|
"yargs": "^16.1.0",
|
|
"zod": "^1.11.10"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"browserslist": [
|
|
"> 5%"
|
|
]
|
|
}
|