composer.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "facebook/webdriver",
  3. "description": "A PHP client for Selenium WebDriver",
  4. "keywords": ["webdriver", "selenium", "php", "facebook"],
  5. "homepage": "https://github.com/facebook/php-webdriver",
  6. "type": "library",
  7. "license": "Apache-2.0",
  8. "support": {
  9. "issues": "https://github.com/facebook/php-webdriver/issues",
  10. "forum": "https://www.facebook.com/groups/phpwebdriver/",
  11. "source": "https://github.com/facebook/php-webdriver"
  12. },
  13. "minimum-stability": "beta",
  14. "require": {
  15. "php": "^5.6 || ~7.0",
  16. "symfony/process": "^2.8 || ^3.1 || ^4.0",
  17. "ext-curl": "*",
  18. "ext-zip": "*",
  19. "ext-mbstring": "*",
  20. "ext-json": "*"
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^5.7",
  24. "sebastian/environment": "^1.3.4 || ^2.0 || ^3.0",
  25. "friendsofphp/php-cs-fixer": "^2.0",
  26. "squizlabs/php_codesniffer": "^2.6",
  27. "php-mock/php-mock-phpunit": "^1.1",
  28. "php-coveralls/php-coveralls": "^2.0",
  29. "symfony/var-dumper": "^3.3 || ^4.0",
  30. "jakub-onderka/php-parallel-lint": "^0.9.2"
  31. },
  32. "suggest": {
  33. "ext-SimpleXML": "For Firefox profile creation"
  34. },
  35. "autoload": {
  36. "psr-4": {
  37. "Facebook\\WebDriver\\": "lib/"
  38. }
  39. },
  40. "autoload-dev": {
  41. "psr-4": {
  42. "Facebook\\WebDriver\\": ["tests/unit", "tests/functional"]
  43. },
  44. "classmap": ["tests/functional/"]
  45. },
  46. "scripts": {
  47. "codestyle:check": [
  48. "vendor/bin/php-cs-fixer fix --diff --diff-format=udiff --dry-run -vvv --ansi",
  49. "vendor/bin/phpcs --standard=PSR2 ./lib/ ./tests/"
  50. ],
  51. "codestyle:fix": [
  52. "vendor/bin/php-cs-fixer fix --diff --diff-format=udiff -vvv || exit 0",
  53. "vendor/bin/phpcbf --standard=PSR2 ./lib/ ./tests/"
  54. ],
  55. "analyze": [
  56. "vendor/bin/parallel-lint -j 10 ./lib ./tests",
  57. "vendor/bin/phpstan.phar analyze ./lib ./tests --level 2 -c phpstan.neon --ansi"
  58. ]
  59. },
  60. "extra": {
  61. "branch-alias": {
  62. "dev-community": "1.5-dev"
  63. }
  64. }
  65. }