-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
123 lines (119 loc) · 4.09 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "lzakrzewski/es-sandbox",
"license": "MIT",
"type": "project",
"description": "Event sourcing sandbox",
"autoload": {
"psr-4": {
"EsSandbox\\": "src/EsSandbox"
},
"files": [
"app/MicroKernel.php"
]
},
"autoload-dev": {
"psr-4": {
"tests\\": "tests"
}
},
"authors": [
{
"name": "lzakrzewski",
"email": "[email protected]"
}
],
"require": {
"ramsey/uuid": "~3.0",
"incenteev/composer-parameter-handler": "~2.0",
"guzzlehttp/guzzle": "~6.0",
"lzakrzewski/http-event-store": "0.0.*",
"symfony/symfony": "~3.0",
"symfony/monolog-bundle": "~2.9",
"simple-bus/message-bus": "^2.2",
"simple-bus/symfony-bridge": "^4.1",
"doctrine/orm": "~2.5",
"doctrine/doctrine-bundle": "~1.5"
},
"require-dev": {
"fabpot/php-cs-fixer": "~1.6",
"squizlabs/php_codesniffer": "~2.3",
"phpmd/phpmd": "~2.2",
"mayflower/php-codebrowser": "~1.1",
"phpunit/phpunit": "~5.0",
"phpspec/phpspec": "~2.3",
"behat/behat": "~3.0-RC",
"behat/symfony2-extension": "~2.1",
"lzakrzewski/doctrine-database-backup": "~1.2"
},
"config": {
"bin-dir": "bin"
},
"scripts": {
"static-analysis": [
"./bin/php-cs-fixer fix --config-file=build/static-analysis/.php_cs",
"./bin/phpcs --standard=./build/static-analysis/phpcs.xml --extensions=php src tests",
"./bin/phpmd src,tests text ./build/static-analysis/phpmd.xml"
],
"static-analysis-ci": [
"./bin/php-cs-fixer fix --dry-run --config-file=build/static-analysis/.php_cs",
"./bin/phpcs --standard=./build/static-analysis/phpcs.xml --extensions=php src tests",
"./bin/phpmd src,tests text ./build/static-analysis/phpmd.xml"
],
"unit-test": [
"./bin/phpunit --testsuite unit ",
"./bin/phpspec run"
],
"integration-test": "./bin/phpunit --testsuite integration",
"cache-clear-dev": "./bin/console cache:clear --env=dev",
"cache-clear-test": "./bin/console cache:clear --env=test",
"behat": "./bin/behat --format=progress --out=std",
"test": [
"@static-analysis",
"@unit-test",
"@integration-test",
"@behat"
],
"test-ci": [
"@static-analysis-ci",
"@unit-test",
"@integration-test",
"@behat"
],
"setup-database": "@setup-database-dev",
"setup-database-dev": [
"./bin/console doctrine:database:drop --force --env=dev -vvv|| true",
"./bin/console doctrine:database:create --env=dev -vvv",
"./bin/console doctrine:schema:create --env=dev -vvv"
],
"setup-database-test": [
"./bin/console doctrine:database:drop --force --env=test || true",
"./bin/console doctrine:database:create --env=test",
"./bin/console doctrine:schema:create --env=test"
],
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "web",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml",
"env-map": {
"event_store_host": "EVENT_STORE_PORT_1113_TCP_ADDR",
"event_store_port": "EVENT_STORE_PORT_2113_TCP_PORT",
"database_host": "MYSQL_PORT_3306_TCP_ADDR",
"database_port": "MYSQL_PORT_3306_TCP_PORT",
"database_password": "MYSQL_ENV_MYSQL_ROOT_PASSWORD"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}