File size: 6,125 Bytes
d2897cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
  "name": "mautic/mautic",
  "license": "GPL-3.0",
  "type": "project",
  "description": "Mautic Open Source Distribution",
  "funding": [
        {
            "type": "opencollective",
            "url": "https://www.opencollective.com/mautic"
        },
        {
            "type": "github",
            "url": "https://github.com/sponsors/mautic"
        }
    ],
  "support": {
        "forum": "https://forum.mautic.org/c/support",
        "docs": "https://docs.mautic.org",
        "chat": "https://mautic.org/slack",
        "issues": "https://github.com/mautic/mautic/issues",
        "source": "https://github.com/mautic/mautic"
    },
  "require": {
    "composer/installers": "^1.11",
    "mautic/core-lib": "^5.0"
  },
  "require-dev": {
    "friendsofphp/php-cs-fixer": "^3.14",
    "http-interop/http-factory-guzzle": "^1.0",
    "liip/functional-test-bundle": "^4.3",
    "liip/test-fixtures-bundle": "^2.6",
    "mautic/transifex": "^5.0",
    "phpstan/extension-installer": "^1.3",
    "phpstan/phpstan": "^1.10.47",
    "phpstan/phpstan-deprecation-rules": "^1.1",
    "phpstan/phpstan-doctrine": "^1.3.40",
    "phpstan/phpstan-phpunit": "^1.3",
    "phpstan/phpstan-symfony": "^1.3",
    "phpunit/phpunit": "^9.5",
    "rector/rector": "^0.18.12",
    "symfony/browser-kit": "~5.4.0",
    "symfony/dom-crawler": "~5.4.0",
    "symfony/maker-bundle": "^1.38",
    "symfony/phpunit-bridge": "~5.4.0",
    "symfony/var-dumper": "~5.4.0",
    "symfony/web-profiler-bundle": "~5.4.0",
    "symplify/easy-coding-standard": "^12.0.13"
  },
  "replace": {
    "mautic/grapes-js-builder-bundle": "self.version",
    "mautic/plugin-clearbit": "self.version",
    "mautic/plugin-cloudstorage": "self.version",
    "mautic/plugin-crm": "self.version",
    "mautic/plugin-emailmarketing": "self.version",
    "mautic/plugin-focus": "self.version",
    "mautic/plugin-fullcontact": "self.version",
    "mautic/plugin-gmail": "self.version",
    "mautic/plugin-outlook": "self.version",
    "mautic/plugin-social": "self.version",
    "mautic/plugin-zapier": "self.version",
    "mautic/plugin-tagmanager": "self.version",
    "mautic/theme-coffee": "self.version",
    "mautic/theme-mauve": "self.version",
    "mautic/theme-nature": "self.version",
    "mautic/theme-aurora": "self.version",
    "mautic/theme-blank": "self.version",
    "mautic/theme-brienz": "self.version",
    "mautic/theme-cards": "self.version",
    "mautic/theme-confirmme": "self.version",
    "mautic/theme-fresh-center": "self.version",
    "mautic/theme-fresh-fixed": "self.version",
    "mautic/theme-fresh-left": "self.version",
    "mautic/theme-fresh-wide": "self.version",
    "mautic/theme-goldstar": "self.version",
    "mautic/theme-neopolitan": "self.version",
    "mautic/theme-oxygen": "self.version",
    "mautic/theme-paprika": "self.version",
    "mautic/theme-skyline": "self.version",
    "mautic/theme-sparse": "self.version",
    "mautic/theme-sunday": "self.version",
    "mautic/theme-vibrant": "self.version"
  },
  "autoload": {
    "psr-4": {
      "MauticPlugin\\": "plugins/"
    }
  },
  "repositories": [
    {
      "type": "path",
      "url": "app",
      "options": {
        "versions": {
            "mautic/core-lib": "5.0.0-dev"
        }
      }
    },
    {
      "type": "git",
      "url": "https://github.com/mautic/FOSOAuthServerBundle.git"
    },
    {
      "type": "git",
      "url": "https://github.com/mautic/SpBundle.git"
    },
    {
      "type": "git",
      "url": "https://github.com/mautic/SymfonyBridgeBundle.git"
    }
  ],
  "conflict": {
    "mautic/core": "*"
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "scripts": {
    "githooks": [
      "php -r \"if(file_exists('./.git')&&file_exists('./build/hooks/pre-commit'.(PHP_OS=='WINNT'?'.win':''))){copy('./build/hooks/pre-commit'.(PHP_OS=='WINNT'?'.win':''),'./.git/hooks/pre-commit');} if(file_exists('./.git')&&file_exists('./build/hooks/post-checkout')){copy('./build/hooks/post-checkout','./.git/hooks/post-checkout');}\"",
      "php -r \"if(file_exists('./.git/hooks/pre-commit')&&(PHP_OS!='WINNT')){chmod('./.git/hooks/pre-commit',0755);} if(file_exists('./.git/hooks/post-checkout')&&(PHP_OS!='WINNT')){chmod('./.git/hooks/post-checkout',0755);}\""
    ],
    "post-install-cmd": [
      "@githooks",
      "@npm-ci",
      "@npx-patch-package",
      "@generate-assets"
    ],
    "post-update-cmd": [
      "@githooks",
      "@npm-ci",
      "@npx-patch-package",
      "@generate-assets"
    ],
    "test": "bin/phpunit -d memory_limit=1G --bootstrap vendor/autoload.php --configuration app/phpunit.xml.dist",
    "phpstan": "[ ! -f var/cache/test/AppKernelTestDebugContainer.xml ] && (echo 'Building test cache ...'; APP_ENV=test APP_DEBUG=1 bin/console > /dev/null 2>&1);  php -d memory_limit=4G bin/phpstan analyse --ansi",
    "cs": "bin/php-cs-fixer fix --config=.php-cs-fixer.php -v --dry-run --diff",
    "fixcs": "bin/php-cs-fixer fix -v",
    "rector": "bin/rector process --ansi",
    "npm-ci": "npm ci --prefer-offline --no-audit",
    "npx-patch-package": "npx patch-package",
    "generate-assets": "bin/console mautic:assets:generate"
  },
  "config": {
    "platform": {
      "php": "8.0.2"
    },
    "bin-dir": "bin",
    "component-dir": "media/assets",
    "process-timeout": 5000,
    "sort-packages": true,
    "allow-plugins": {
      "composer/installers": true,
      "composer/package-versions-deprecated": true,
      "symfony/flex": true,
      "phpstan/extension-installer": true,
      "php-http/discovery": true,
      "cweagans/composer-patches": true
    }
  },
  "extra": {
    "installer-paths": {
      "app": [
        "type:mautic-core"
      ],
      "plugins/{$name}": [
        "type:mautic-plugin"
      ],
      "themes/{$name}": [
        "type:mautic-theme"
      ]
    },
    "symfony-app-dir": "app",
    "symfony-bin-dir": "bin",
    "symfony-web-dir": "../",
    "symfony-var-dir": "var",
    "symfony-tests-dir": "tests",
    "symfony-assets-install": "relative",
    "incenteev-parameters": {
      "file": "app/config/parameters.yml"
    }
  }
}