Robo plug-in minifying PHP source code by removing comments and whitespace. https://docs.belin.io/robo-php-minify
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

68 lines
1.8 KiB

  1. {
  2. "description": "Robo plug-in minifying PHP source code by removing comments and whitespace.",
  3. "homepage": "https://docs.belin.io/robo-php-minify",
  4. "license": "MIT",
  5. "name": "cedx/robo-php-minify",
  6. "type": "robo-tasks",
  7. "version": "3.1.1",
  8. "authors": [
  9. {"email": "cedric@belin.io", "homepage": "https://belin.io", "name": "Cédric Belin"}
  10. ],
  11. "autoload": {
  12. "psr-4": {"Robo\\PhpMinify\\": "src/"}
  13. },
  14. "autoload-dev": {
  15. "psr-4": {"Robo\\PhpMinify\\": "test/"}
  16. },
  17. "config": {
  18. "optimize-autoloader": true
  19. },
  20. "funding": [
  21. {"type": "patreon", "url": "https://www.patreon.com/cedx"}
  22. ],
  23. "keywords": [
  24. "build",
  25. "compress",
  26. "minify",
  27. "php",
  28. "robo",
  29. "task"
  30. ],
  31. "require": {
  32. "php": ">=7.4.0",
  33. "ext-mbstring": "*",
  34. "ext-spl": "*",
  35. "cedx/enum": "^8.2.0",
  36. "cedx/which.hx": "^1.0.0",
  37. "consolidation/robo": "^2.1.0",
  38. "nyholm/psr7": "^1.3.0",
  39. "psr/http-client": "^1.0.1",
  40. "symfony/finder": "^5.1.3",
  41. "symfony/http-client": "^5.1.3",
  42. "symfony/process": "^5.1.3",
  43. "webmozart/path-util": "^2.3.0"
  44. },
  45. "require-dev": {
  46. "league/container": "^2.4.1 || ^3.3.1",
  47. "phpstan/phpstan": "^0.12.34",
  48. "phpunit/phpunit": "^9.2.6",
  49. "symfony/console": "^5.1.3"
  50. },
  51. "scripts": {
  52. "build": "robo build --load-from tool/robo.php",
  53. "clean": "pwsh tool/clean.ps1",
  54. "coverage": "composer global exec coveralls var/coverage.xml",
  55. "doc": ["@version", "pwsh tool/doc.ps1"],
  56. "lint": "phpstan analyse --configuration=etc/phpstan.neon",
  57. "publish": ["@clean", "@version", "pwsh tool/publish.ps1"],
  58. "serve": ["Composer\\Config::disableProcessTimeout", "@php -S 127.0.0.1:8000 -t src"],
  59. "test": "phpunit --configuration=etc/phpunit.xml",
  60. "version": "pwsh tool/version.ps1",
  61. "watch": "pwsh tool/watch.ps1"
  62. },
  63. "support": {
  64. "docs": "https://docs.belin.io/robo-php-minify/api",
  65. "issues": "https://git.belin.io/cedx/robo-php-minify/issues"
  66. }
  67. }