composer.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "hackware/hawese",
  3. "description": "Hawese: Hackware Web Services API.",
  4. "keywords": [
  5. "hawese",
  6. "hackware",
  7. "lumen",
  8. "laravel"
  9. ],
  10. "license": [
  11. "GPL-3.0-or-later",
  12. "MIT-0"
  13. ],
  14. "type": "project",
  15. "require": {
  16. "php": ">=7.1.3",
  17. "hackware/hawese-core": "*",
  18. "laravel/lumen-framework": "5.8.*",
  19. "vlucas/phpdotenv": "^3.3"
  20. },
  21. "require-dev": {
  22. "laravel/tinker": "^1.0",
  23. "phpunit/phpunit": "^8"
  24. },
  25. "scripts": {
  26. "post-root-package-install": [
  27. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  28. ],
  29. "collect-public": [
  30. "cp -r vendor/hackware/hawese-*/public ."
  31. ],
  32. "seed": [
  33. "@php artisan db:seed --class='Hawese\\Seeds\\DatabaseSeeder'"
  34. ],
  35. "test": "phpunit",
  36. "test-coverage": "phpdbg -qrr vendor/bin/phpunit --coverage-html coverage"
  37. },
  38. "config": {
  39. "sort-packages": true,
  40. "optimize-autoloader": true
  41. },
  42. "minimum-stability": "dev",
  43. "prefer-stable": true
  44. }