-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
78 lines (78 loc) · 2.08 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
{
"type": "akil-tech/starter-rest-symfony",
"license": "MIT",
"require": {
"php": "^7.1.3",
"ext-ctype": "*",
"ext-iconv": "*",
"symfony/console": "4.3.*",
"symfony/dotenv": "4.3.*",
"symfony/flex": "^1.3.1",
"symfony/framework-bundle": "4.3.*",
"symfony/yaml": "4.3.*"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.5",
"symfony/browser-kit": "4.3.*",
"symfony/css-selector": "4.3.*"
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"paragonie/random_compat": "2.*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"cghooks": "./vendor/bin/cghooks",
"csfix": "./vendor/bin/phpcbf",
"cscheck": "./vendor/bin/phpcs"
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "4.3.*"
},
"hooks": {
"pre-commit": [
"echo committing as $(git config user.name)",
"composer csfix",
"./vendor/bin/phpunit",
"./vendor/bin/phpcs"
],
"pre-push": [
"php-cs-fixer fix --dry-run .",
"./vendor/bin/phpunit"
],
"post-merge": "composer install"
}
}
}