package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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-cli2",
  29. "markdownlint_fix": "markdownlint-cli2 --fix",
  30. "rtlcss": "rtlcss -d p/themes/ && find p/themes/ -type f -name '*.rtl.rtl.css' -delete",
  31. "svgo": "find p/ docs/ -name '*.svg' -exec svgo {} + | awk '/:$/{name=$0;next} /KiB/ && !/ - 0% /{print name; print}'",
  32. "stylelint": "stylelint '**/*.css'",
  33. "stylelint_fix": "stylelint --fix '**/*.css'",
  34. "test": "npm run eslint && npm run stylelint && npm run markdownlint",
  35. "fix": "npm run eslint_fix && npm run stylelint_fix && npm run rtlcss && npm run markdownlint_fix && npm run svgo"
  36. },
  37. "devDependencies": {
  38. "@eslint/js": "^10.0.1",
  39. "@stylistic/stylelint-plugin": "^5.3.0",
  40. "eslint": "^10.10.0",
  41. "globals": "^17.12.0",
  42. "markdownlint-cli2": "^0.23.2",
  43. "neostandard": "^0.14.0-next.1",
  44. "rtlcss": "^4.3.0",
  45. "stylelint": "^17.15.0",
  46. "stylelint-config-recommended": "^18.0.0",
  47. "stylelint-order": "^8.1.1",
  48. "svgo": "^4.1.0"
  49. },
  50. "rtlcssConfig": {
  51. "options": {
  52. "processUrls": {
  53. "atrule": true,
  54. "decl": false
  55. },
  56. "stringMap": [
  57. {
  58. "name": "import-rtl",
  59. "priority": 10,
  60. "exclusive": true,
  61. "search": ".css",
  62. "replace": ".rtl.css",
  63. "options": {
  64. "scope": "url",
  65. "ignoreCase": false
  66. }
  67. }
  68. ]
  69. }
  70. }
  71. }