-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
113 lines (113 loc) · 4.02 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
{
"license": "MPL-2.0",
"name": "pascalchevrel/releaseinsights",
"description": "Release Insights / Firefox Trains Dashboard",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mozilla-l10n/phpclass-json",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/pascalchevrel/Verif/",
"no-api": true
},
{
"type": "vcs",
"url": "https://github.com/pascalchevrel/bzkarma/",
"no-api": true
}
],
"require": {
"php": "~8.4.0",
"ext-intl": "*",
"ext-mbstring": "*",
"ext-curl": "*",
"ext-dom": "*",
"twig/twig": "^3.0",
"twig/intl-extra": "^3.0",
"guzzlehttp/guzzle": "^7.0",
"cweagans/composer-patches": "^1.7",
"sentry/sentry": "^4.0",
"components/jquery": "^3.4",
"twbs/bootstrap": "^5.3",
"twbs/bootstrap-icons": "^1.8",
"pchevrel/bzkarma": "^1.0",
"eluceo/ical": "^0.18.0",
"benhall14/php-calendar": "^1.4",
"symfony/cache": "^7",
"kevinrob/guzzle-cache-middleware": "^6.0"
},
"require-dev": {
"phpstan/phpstan": "^2.0",
"pestphp/pest": "^3.0",
"symfony/var-dumper": "^6",
"pchevrel/verif": "^0.5.1",
"overtrue/phplint": "^9.5",
"spatie/laravel-ignition": "^2.0",
"symplify/vendor-patches": "*",
"rector/rector": "^2.0"
},
"autoload": {
"psr-4": {
"ReleaseInsights\\": "app/classes/ReleaseInsights",
"Cache\\": "app/classes/Cache"
}
},
"scripts": {
"cache:clear": "rm cache/*.cache ; rm -rf cache/twig/*; rm -rf cache/guzzle/*",
"cache:clean": "composer cache:clear",
"test:unit": "vendor/bin/pest",
"test:unitcov": "XDEBUG_MODE=coverage vendor/bin/pest --coverage",
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/pest --coverage | tail -15",
"test:static": "vendor/bin/phpstan",
"test:pages": "php tests/Functional/pages.php",
"test:api": "php tests/Functional/api.php",
"test:content": "php tests/Functional/pages.php;php tests/Functional/api.php",
"test:lint": "vendor/bin/phplint . --exclude vendor",
"test:all": [
"@test:lint",
"@test:unitcov",
"@test:static",
"@test:pages",
"@test:api"
],
"test": [
"@test:unit"
],
"post-install-cmd": [
"rm -rf public/assets/bootstrap",
"cp -r vendor/twbs/bootstrap/dist public/assets/bootstrap",
"cp vendor/twbs/bootstrap-icons/font/bootstrap-icons.css public/assets/bootstrap/css/",
"cp -r vendor/twbs/bootstrap-icons/font/fonts/ public/assets/bootstrap/css/",
"rm -rf public/assets/jquery",
"cp -r vendor/components/jquery/ public/assets/jquery",
"cp vendor/benhall14/php-calendar/html/css/calendar.css public/style/",
"rm public/assets/jquery/README.md",
"echo $SOURCE_VERSION > public/deployed-version.txt"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true,
"pestphp/pest-plugin": true,
"cweagans/composer-patches": true,
"php-http/discovery": true
}
},
"extra": {
"patches": {
"eluceo/ical": [
"patches/eluceo-ical-src-util-dateutil-php.patch",
"patches/eluceo-ical-src-component-event-php.patch",
"patches/eluceo-ical-src-property-event-recurrenceid-php.patch",
"patches/eluceo-ical-src-property-datetimeproperty-php.patch"
],
"benhall14/php-calendar": {
"Make calendar.css use more neutral styles": "patches/benhall14-php-calendar-html-css-calendar-css.patch"
}
}
}
}