-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
65 lines (65 loc) · 2.25 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "tr33m4n/codeception-module-percy",
"description": "Percy https://percy.io module for Codeception",
"license": "MIT",
"authors": [
{
"name": "Daniel Doyle",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.4||^8.0",
"ext-curl": "*",
"ext-json": "*",
"composer-plugin-api": "^2",
"composer-runtime-api": "^2",
"codeception/codeception": "^4.1.22||^5.0",
"codeception/module-webdriver": "^2.0||^3.0||^4.0",
"eloquent/composer-npm-bridge": "^5.0",
"guzzlehttp/guzzle": ">=6.5.8",
"ramsey/uuid": "^4.1",
"symfony/process": "^5.2||^6.0||^7.0",
"tr33m4n/codeception-module-percy-environment": "^1.0"
},
"autoload": {
"psr-4": {
"Codeception\\": "src/Codeception"
}
},
"require-dev": {
"adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0",
"codeception/module-asserts": "^2.0||^3.0",
"codeception/module-phpbrowser": "^2.0||^3.0",
"friendsofphp/php-cs-fixer": "^3.59",
"phpstan/phpstan": "^1.11",
"rector/rector": "^1.1",
"squizlabs/php_codesniffer": "^3.10"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"eloquent/composer-npm-bridge": true
}
},
"scripts": {
"fix": "vendor/bin/rector process && vendor/bin/php-cs-fixer fix --diff",
"test:lint": "vendor/bin/rector process --dry-run && vendor/bin/php-cs-fixer fix --dry-run --diff",
"test:static": "vendor/bin/phpstan analyse --no-interaction --no-progress && vendor/bin/phpcs --standard=PSR12 ./src",
"test:unit": "php vendor/bin/codecept run unit",
"test:start-server": "./tests/server/start.sh",
"test:stop-server": "./tests/server/stop.sh",
"test:start-browser": "./tests/geckodriver/start.sh",
"test:acceptance": "php vendor/bin/codecept run acceptance -vvv",
"test": [
"@test:lint",
"@test:static",
"@test:unit",
"@test:start-server",
"@test:start-browser",
"@test:acceptance"
]
}
}