-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
114 lines (114 loc) · 4.22 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
{
"name": "jedrzej/x-map",
"license": "MIT",
"type": "project",
"description": "x-map",
"autoload": {
"psr-4": { "": "src/" }
},
"require": {
"php": ">=5.4.0",
"symfony/symfony": "2.7.*",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~4.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"jms/serializer-bundle": "^1.0",
"friendsofsymfony/rest-bundle": "^1.0",
"nelmio/api-doc-bundle": "^2.4",
"friendsofsymfony/http-cache-bundle": "^1.0",
"willdurand/hateoas-bundle": "^1.0",
"hautelook/templated-uri-bundle": "^2.0",
"willdurand/rest-extra-bundle": "^1.0",
"doctrine/mongodb-odm": "1.0.*",
"doctrine/mongodb-odm-bundle": "3.0.*",
"nelmio/cors-bundle": "^1.4.0",
"lexik/jwt-authentication-bundle": "^1.4",
"happyr/google-api-bundle": "^2.1"
},
"require-dev": {
"sensio/generator-bundle": "~2.3",
"codeception/codeception": "*",
"doctrine/doctrine-fixtures-bundle": "^2.2",
"flow/jsonpath": "*",
"fabpot/php-cs-fixer": "*"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"build": [
"@build-frontend",
"@build-backend"
],
"build-frontend": [
"cd client && npm config set progress false",
"cd client && npm install",
"cd client && npm run build",
"rm -rf web/css/ web/js/ *.png",
"cp -rf client/build/* web/"
],
"build-backend": [
"composer install --prefer-dist --no-interaction",
"composer dump-autoload --no-dev --optimize"
],
"test": [
"@test-frontend",
"@test-backend"
],
"test-frontend": [
"cd client && npm run test"
],
"test-backend": [
"php app/console server:start 127.0.0.1:8008 && bin/codecept build && bin/codecept run -vvv; RESULT=$?; php app/console server:stop 127.0.0.1:8008; exit $RESULT"
],
"lint": [
"@lint-frontend",
"@lint-backend"
],
"lint-frontend": [
"cd client && npm run lint"
],
"lint-backend": [
"vendor/fabpot/php-cs-fixer/php-cs-fixer fix . --dry-run"
],
"lint-fix-backend": [
"vendor/fabpot/php-cs-fixer/php-cs-fixer fix ."
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml",
"env-map": {
"mongodb_host": "MONGODB_HOST",
"key_folder": "KEY_FOLDER"
}
},
"branch-alias": {
"dev-master": "2.7-dev"
}
}
}