-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
115 lines (115 loc) · 4.29 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
{
"name": "opentribes/framework",
"license": "MIT",
"type": "project",
"description": "Framework implementation for the browsergame game OpenTribes",
"keywords": [
"browsergame",
"clean-code",
"phpgame"
],
"authors": [
{
"name": "Vitalij Mik"
}
],
"repositories": [
{
"type": "path",
"url": "../Game",
"options": {
"symlink": true
}
}
],
"require": {
"ext-gd": "*",
"blackscorp/simplexnoise": "^0",
"doctrine/dbal": "^3.2",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.11.0",
"league/flysystem": "^3.0",
"league/flysystem-bundle": "^2.2",
"opentribes/game": "dev-main",
"sensio/framework-extra-bundle": "^6.2",
"sulu/community-bundle": "^2@dev",
"symfony/flex": "^1.17 || ^2.0",
"symfony/mailer": "^5.4",
"symfony/webpack-encore-bundle": "^1.14",
"wikimedia/composer-merge-plugin": "^2.0"
},
"require-dev": {
"nunomaduro/phpinsights": "^2",
"vimeo/psalm": "^4"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"bin/websiteconsole cache:clear": "php-script",
"bin/adminconsole sulu:media:init": "php-script",
"bin/adminconsole massive:search:init": "php-script"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"post-root-package-install": [
"@php -r \"file_put_contents('.env.local', 'APP_ENV=dev' . PHP_EOL);\"",
"@php -r \"file_put_contents('.env', str_replace('APP_SECRET=', 'APP_SECRET=' . bin2hex(random_bytes(16)), file_get_contents('.env')));\""
],
"post-create-project-cmd": [
"@php -r \"file_put_contents('.gitignore', str_replace(['composer.lock' . PHP_EOL, 'symfony.lock' . PHP_EOL, 'package-lock.json' . PHP_EOL], ['', '', ''], file_get_contents('.gitignore')));\"",
"@php bin/adminconsole sulu:admin:info --ansi"
],
"ot:phpinsights": "vendor/bin/phpinsights --config-path=phpinsights.php",
"ot:fix-style": "vendor/bin/phpinsights --config-path=phpinsights.php -s --fix",
"sulu:webspace:export":[
"bin/adminconsole doctrine:phpcr:workspace:export -p /cmf data/cmf.xml",
"bin/websiteconsole doctrine:phpcr:workspace:export -p /cmf data/cmf_live.xml",
"bin/adminconsole doctrine:phpcr:workspace:export -p /jcr:versions data/datajcr.xml"
],
"sulu:webspace:clear":[
"bin/adminconsole doctrine:phpcr:node:remove /cmf",
"bin/websiteconsole doctrine:phpcr:node:remove /cmf",
"bin/adminconsole doctrine:phpcr:node:remove /jcr:versions"
],
"sulu:webspace:import":[
"bin/adminconsole doctrine:phpcr:workspace:import -p /cmf data/cmf.xml",
"bin/websiteconsole doctrine:phpcr:workspace:import -p /cmf data/cmf_live.xml",
"bin/adminconsole doctrine:phpcr:workspace:import -p /jcr:versions data/datajcr.xml"
],
"sulu:prepare-test-db": [
"@php bin/adminconsole doctrine:database:drop --if-exists --force --env test",
"@php bin/adminconsole doctrine:database:create --env test",
"@php bin/adminconsole doctrine:schema:create --env test",
"@php bin/adminconsole doctrine:fixtures:load --group=test -n --env test"
]
},
"extra": {
"merge-plugin": {
"require": [
"composer.original.json"
],
"recurse": true,
"replace": false,
"ignore-duplicates": false,
"merge-dev": true,
"merge-extra": true,
"merge-extra-deep": true,
"merge-scripts": true
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"symfony/runtime": true,
"symfony/flex": true,
"symfony/thanks": true,
"wikimedia/composer-merge-plugin": true
},
"sort-packages": true
}
}