composer.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "ricardogj08/tinynote",
  3. "description": "A simple markdown note taking application with encryption support built in PHP.",
  4. "type": "project",
  5. "license": "AGPL-3.0-or-later",
  6. "autoload": {
  7. "psr-4": {
  8. "App\\": "app/"
  9. }
  10. },
  11. "config": {
  12. "optimize-autoloader": true
  13. },
  14. "scripts": {
  15. "migrations": "@php ./bin/simple-db-migrator.php",
  16. "prettier": "@php ./pretty-php.phar",
  17. "gendb-diagram": "erd -i ./documentation/database/diagram.er -o ./documentation/database/diagram.png",
  18. "gendoc": "gendoc ./docs/index.html ./documentation/api/manual.xml"
  19. },
  20. "scripts-descriptions": {
  21. "migrations": "Run database migrations.",
  22. "prettier": "Format PHP code.",
  23. "gendb-diagram": "Generate entity-relationship diagram.",
  24. "gendoc": "Generate API documentation."
  25. },
  26. "authors": [
  27. {
  28. "name": "Ricardo García Jiménez",
  29. "email": "ricardogj08@riseup.net"
  30. }
  31. ],
  32. "require": {
  33. "php": "^7.4",
  34. "riverside/php-express": "^2.0",
  35. "riverside/php-orm": "^2.0",
  36. "gullevek/dotenv": "^2.0",
  37. "firebase/php-jwt": "^6.10",
  38. "respect/validation": "^2.2",
  39. "ph-7/just-http-status-codes": "^1.1",
  40. "abmmhasan/uuid": "^2.0",
  41. "spatie/crypto": "^2.0",
  42. "rmccue/requests": "^2.0",
  43. "erusev/parsedown": "^1.7"
  44. }
  45. }