mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
200 lines
6.8 KiB
JSON
200 lines
6.8 KiB
JSON
{
|
|
"name": "flood",
|
|
"version": "3.1.0",
|
|
"private": false,
|
|
"license": "GPL-3.0-only",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jesec/flood.git"
|
|
},
|
|
"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 argon2-browser -e geoip-country",
|
|
"build-docs": "jsdoc -c ./.jsdoc.json",
|
|
"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",
|
|
"deprecated-warning": "node client/scripts/deprecated-warning.js && sleep 10",
|
|
"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",
|
|
"start:production": "UPDATED_SCRIPT=start npm run deprecated-warning && npm start",
|
|
"start:watch": "UPDATED_SCRIPT=start:development:client npm run deprecated-warning && npm run start:development:client",
|
|
"test": "jest --forceExit",
|
|
"test:watch": "jest --watchAll --forceExit"
|
|
},
|
|
"dependencies": {
|
|
"argon2-browser": "^1.15.2",
|
|
"geoip-country": "^4.0.40"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
"@babel/preset-env": "^7.12.0",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"@babel/preset-typescript": "^7.12.0",
|
|
"@formatjs/cli": "^2.13.2",
|
|
"@types/argon2-browser": "^1.12.0",
|
|
"@types/async": "^3.2.3",
|
|
"@types/bencode": "^2.0.0",
|
|
"@types/body-parser": "^1.19.0",
|
|
"@types/classnames": "^2.2.10",
|
|
"@types/clipboard": "^2.0.1",
|
|
"@types/compression": "^1.7.0",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/create-torrent": "^4.4.0",
|
|
"@types/d3": "^5.16.3",
|
|
"@types/debug": "^4.1.5",
|
|
"@types/express": "^4.17.8",
|
|
"@types/express-rate-limit": "^5.1.0",
|
|
"@types/flux": "^3.1.9",
|
|
"@types/fs-extra": "^9.0.2",
|
|
"@types/geoip-country": "^4.0.0",
|
|
"@types/http-errors": "^1.8.0",
|
|
"@types/jest": "^26.0.14",
|
|
"@types/jsonwebtoken": "^8.5.0",
|
|
"@types/morgan": "^1.9.1",
|
|
"@types/nedb": "^1.8.11",
|
|
"@types/node": "^12.12.67",
|
|
"@types/passport": "^1.0.4",
|
|
"@types/passport-jwt": "^3.0.3",
|
|
"@types/react": "^16.9.52",
|
|
"@types/react-custom-scrollbars": "^4.0.7",
|
|
"@types/react-dnd-multi-backend": "^6.0.0",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-measure": "^2.0.6",
|
|
"@types/react-router-dom": "^5.1.6",
|
|
"@types/react-transition-group": "^4.4.0",
|
|
"@types/spdy": "^3.4.4",
|
|
"@types/supertest": "^2.0.10",
|
|
"@types/tar": "^4.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^4.4.1",
|
|
"@typescript-eslint/parser": "^4.4.1",
|
|
"@vercel/ncc": "^0.24.1",
|
|
"async": "^3.2.0",
|
|
"autoprefixer": "^10.0.1",
|
|
"axios": "^0.20.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.0.6",
|
|
"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.0",
|
|
"d3-array": "^2.8.0",
|
|
"d3-scale": "^3.2.3",
|
|
"d3-selection": "^2.0.0",
|
|
"d3-shape": "^2.0.0",
|
|
"dayjs": "^1.9.3",
|
|
"debug": "^4.2.0",
|
|
"eslint": "^7.11.0",
|
|
"eslint-config-airbnb": "^18.2.0",
|
|
"eslint-config-airbnb-typescript": "^11.0.0",
|
|
"eslint-config-prettier": "^6.12.0",
|
|
"eslint-config-react-app": "^6.0.0-next.98",
|
|
"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.0",
|
|
"eslint-plugin-jsx-a11y": "^6.3.1",
|
|
"eslint-plugin-react": "^7.21.4",
|
|
"eslint-plugin-react-hooks": "^4.1.2",
|
|
"express": "^4.17.1",
|
|
"express-rate-limit": "^5.1.3",
|
|
"fast-equals": "^2.0.0",
|
|
"fast-sort": "^2.2.0",
|
|
"feedsub": "^0.7.2",
|
|
"file-loader": "^6.1.1",
|
|
"flux": "^3.1.3",
|
|
"fs-extra": "^9.0.1",
|
|
"get-user-locale": "^1.4.0",
|
|
"glob": "^7.1.6",
|
|
"html-webpack-plugin": "^4.5.0",
|
|
"http-errors": "^1.8.0",
|
|
"jest": "^26.5.3",
|
|
"js-file-download": "^0.4.12",
|
|
"jsdoc": "^3.6.5",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"lodash": "^4.17.20",
|
|
"minami": "^1.2.3",
|
|
"mini-css-extract-plugin": "^1.0.0",
|
|
"morgan": "^1.10.0",
|
|
"nedb": "^1.8.0",
|
|
"node-sass": "^4.13.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
|
"pascal-case": "^3.1.1",
|
|
"passport": "^0.4.1",
|
|
"passport-jwt": "^4.0.0",
|
|
"postcss": "^8.1.1",
|
|
"postcss-loader": "^4.0.4",
|
|
"prettier": "^2.1.2",
|
|
"promise": "^8.1.0",
|
|
"react": "^16.14.0",
|
|
"react-custom-scrollbars": "^4.2.1",
|
|
"react-dev-utils": "^10.2.1",
|
|
"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": "^16.14.0",
|
|
"react-dropzone": "^11.1.0",
|
|
"react-intl": "^5.8.6",
|
|
"react-markdown": "^4.3.1",
|
|
"react-measure": "^2.5.2",
|
|
"react-router": "^5.2.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-transition-group": "^4.4.1",
|
|
"ress": "^3.0.0",
|
|
"sanitize-filename": "^1.6.3",
|
|
"sass-loader": "^10.0.3",
|
|
"saxen": "^8.1.2",
|
|
"source-map-loader": "^1.1.1",
|
|
"spdy": "^4.0.2",
|
|
"style-loader": "^2.0.0",
|
|
"supertest": "^5.0.0",
|
|
"tar": "^6.0.5",
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
"ts-jest": "^26.4.1",
|
|
"ts-node-dev": "^1.0.0-pre.65",
|
|
"typed-css-modules": "^0.6.4",
|
|
"typed-emitter": "^1.3.1",
|
|
"typescript": "^4.0.3",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^4.44.2",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpack-manifest-plugin": "^2.2.0",
|
|
"webpackbar": "^4.0.0",
|
|
"xmlrpc": "^1.3.2",
|
|
"yargs": "^16.0.3",
|
|
"zod": "^1.11.9"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"browserslist": [
|
|
"> 5%"
|
|
]
|
|
}
|