package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "freshrss",
  3. "type": "module",
  4. "description": "A free, self-hostable aggregator",
  5. "homepage": "https://freshrss.org/",
  6. "readmeFilename": "README.md",
  7. "bugs": {
  8. "url": "https://github.com/FreshRSS/FreshRSS/issues"
  9. },
  10. "keywords": [
  11. "news",
  12. "aggregator",
  13. "RSS",
  14. "Atom",
  15. "WebSub"
  16. ],
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/FreshRSS/FreshRSS.git"
  20. },
  21. "license": "AGPL-3.0",
  22. "engines": {
  23. "node": ">=20"
  24. },
  25. "scripts": {
  26. "eslint": "eslint .",
  27. "eslint_fix": "eslint --fix .",
  28. "markdownlint": "markdownlint '**/*.md'",
  29. "markdownlint_fix": "markdownlint --fix '**/*.md'",
  30. "rtlcss": "rtlcss -d p/themes/ && find p/themes/ -type f -name '*.rtl.rtl.css' -delete",
  31. "stylelint": "stylelint '**/*.css'",
  32. "stylelint_fix": "stylelint --fix '**/*.css'",
  33. "test": "npm run eslint && npm run stylelint && npm run markdownlint",
  34. "fix": "npm run eslint_fix && npm run stylelint_fix && npm run rtlcss && npm run markdownlint_fix"
  35. },
  36. "devDependencies": {
  37. "eslint": "^9.39.4",
  38. "@eslint/js": "^9.39.4",
  39. "globals": "^17.4.0",
  40. "markdownlint-cli": "^0.48.0",
  41. "neostandard": "^0.13.0",
  42. "rtlcss": "^4.3.0",
  43. "stylelint": "^17.6.0",
  44. "stylelint-config-recommended": "^18.0.0",
  45. "stylelint-order": "^8.1.1",
  46. "@stylistic/stylelint-plugin": "^5.1.0"
  47. },
  48. "rtlcssConfig": {
  49. "options": {
  50. "processUrls": {
  51. "atrule": true,
  52. "decl": false
  53. },
  54. "stringMap": [
  55. {
  56. "name": "import-rtl",
  57. "priority": 10,
  58. "exclusive": true,
  59. "search": ".css",
  60. "replace": ".rtl.css",
  61. "options": {
  62. "scope": "url",
  63. "ignoreCase": false
  64. }
  65. }
  66. ]
  67. }
  68. }
  69. }