composer.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "vertex/sdk",
  3. "description": "Tools for communicating with Vertex Cloud and Vertex O-Series",
  4. "type": "library",
  5. "license": "proprietary",
  6. "version": "1.2.2",
  7. "require": {
  8. "php": "^5.4|^7",
  9. "ext-soap": "*",
  10. "ext-openssl": "*",
  11. "ext-mbstring": "*"
  12. },
  13. "autoload": {
  14. "psr-4": {
  15. "Vertex\\": "src/"
  16. }
  17. },
  18. "autoload-dev": {
  19. "psr-4": {
  20. "Vertex\\Test\\": "tests/"
  21. }
  22. },
  23. "require-dev": {
  24. "php": "^7.1",
  25. "squizlabs/php_codesniffer": "^3.3",
  26. "phpunit/phpunit": "^7.2",
  27. "phpmd/phpmd": "^2.6"
  28. },
  29. "scripts": {
  30. "test": [
  31. "@test:phpcs",
  32. "@test:phpmd",
  33. "@test:unit",
  34. "@test:integration"
  35. ],
  36. "test:phpcs": [
  37. "phpcs --standard=PSR2 src/"
  38. ],
  39. "test:phpmd": [
  40. "phpmd . text tests/phpmd-ruleset.xml --exclude vendor"
  41. ],
  42. "test:unit": [
  43. "phpunit tests/Unit"
  44. ],
  45. "test:integration": [
  46. "phpunit tests/Integration"
  47. ]
  48. },
  49. "archive": {
  50. "exclude": [
  51. "tests/",
  52. ".gitignore"
  53. ]
  54. }
  55. }