composer.json 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "aviat/hummingbird-anime-client",
  3. "description": "A self-hosted anime/manga client for Kitsu.",
  4. "license": "MIT",
  5. "autoload": {
  6. "files": [
  7. "src/constants.php",
  8. "src/AnimeClient.php"
  9. ],
  10. "psr-4": {
  11. "Aviat\\AnimeClient\\": "src/"
  12. }
  13. },
  14. "autoload-dev": {
  15. "psr-4": {
  16. "Aviat\\AnimeClient\\Tests\\": "tests/",
  17. "CodeIgniter\\": "build/CodeIgniter/"
  18. }
  19. },
  20. "require": {
  21. "amphp/artax": "^3.0",
  22. "aura/html": "^2.0",
  23. "aura/router": "^3.0",
  24. "aura/session": "^2.0",
  25. "aviat/banker": "^1.0.0",
  26. "aviat/ion": "^2.3.0",
  27. "maximebf/consolekit": "^1.0",
  28. "monolog/monolog": "^1.0",
  29. "psr/http-message": "~1.0",
  30. "psr/log": "~1.0",
  31. "yosymfony/toml": "^1.0",
  32. "zendframework/zend-diactoros": "^1.3"
  33. },
  34. "require-dev": {
  35. "consolidation/robo": "~1.0",
  36. "henrikbjorn/lurker": "^1.1.0",
  37. "pdepend/pdepend": "^2.2",
  38. "phploc/phploc": "^4.0",
  39. "phpmd/phpmd": "^2.4",
  40. "phpstan/phpstan": "^0.9.1",
  41. "phpunit/phpunit": "^6.0",
  42. "robmorgan/phinx": "^0.9.1",
  43. "sebastian/phpcpd": "^3.0",
  44. "spatie/phpunit-snapshot-assertions": "^1.2.0",
  45. "squizlabs/php_codesniffer": "^3.2.2",
  46. "symfony/var-dumper": "^4.0.1",
  47. "theseer/phpdox": "^0.11.0",
  48. "filp/whoops": "^2.1"
  49. },
  50. "scripts": {
  51. "build": "vendor/bin/robo build",
  52. "build:css": "cd public && npm run build && cd ..",
  53. "clean": "vendor/bin/robo clean",
  54. "coverage": "phpdbg -qrr -- vendor/bin/phpunit -c build",
  55. "phpstan": "phpstan analyse -l 4 -c phpstan.neon src tests ./console index.php",
  56. "watch:css": "cd public && npm run watch",
  57. "test": "vendor/bin/phpunit"
  58. },
  59. "scripts-descriptions": {
  60. "build": "Generate the api docs",
  61. "build:css": "Generate browser css",
  62. "clean": "Remove documentation generation files and folders",
  63. "coverage": "Generate a test coverage report",
  64. "phpstan": "Run PHP Static analysis",
  65. "test": "Run the unit tests"
  66. }
  67. }