-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
73 lines (73 loc) · 2.38 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
{
"name": "solspace/craft-calendar",
"description": "The most reliable and powerful event management plugin for Craft.",
"version": "5.0.12",
"type": "craft-plugin",
"authors": [
{
"name": "Solspace",
"homepage": "https://solspace.com"
}
],
"require": {
"php": "^8.0.2|^8.2.0",
"craftcms/cms": "^4.0.0|^5.0.0",
"rlanvin/php-rrule": "^1.6.0|^2.0.0",
"symfony/property-access": "^2.8|^3.0|^4.0|^5.0|^6.0|^7.0",
"symfony/finder": "^2.8|^3.0|^4.0|^5.0|^6.0|^7.0",
"symfony/filesystem": "^2.8|^3.0|^4.0|^5.0|^6.0|^7.0",
"nesbot/carbon": "^1.22.1|^2.19|^3.0.0",
"composer/class-map-generator": "^1.1",
"phpstan/phpdoc-parser": "^1.33"
},
"require-dev": {
"phpunit/phpunit": "^9.3.0",
"friendsofphp/php-cs-fixer": "^v3.8.0",
"brainmaestro/composer-git-hooks": "^2.8"
},
"autoload": {
"psr-4": {
"Solspace\\Calendar\\": "packages/plugin/src",
"Solspace\\Tests\\Calendar\\": "packages/plugin/tests"
}
},
"scripts": {
"test:unit": "vendor/bin/phpunit --configuration ./phpunit.xml",
"fix": "vendor/bin/php-cs-fixer fix --diff",
"fix:dry-run": "vendor/bin/php-cs-fixer fix --dry-run --diff",
"cghooks": "vendor/bin/cghooks",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"schemaVersion": "5.0.1",
"handle": "calendar",
"class": "Solspace\\Calendar\\Calendar",
"name": "Calendar",
"developer": "Solspace",
"developerUrl": "https://docs.solspace.com/",
"documentationUrl": "https://docs.solspace.com/craft/calendar/v5/",
"changelogUrl": "https://raw.githubusercontent.com/solspace/craft-calendar/v5/CHANGELOG.md",
"hasSettings": true,
"hasCpSection": true,
"hooks": {
"pre-commit": [
"set -e",
"printf '\\n\\e[32m######### Linting Scripts #########\\e[0m\\n\\n'",
"npm run lint",
"printf '\\n\\e[32m######### Running Unit Tests #########\\e[0m\\n\\n'",
"composer run test:unit",
"printf '\\n\\e[32m######### Running CS Fixer dry run #########\\e[0m\\n\\n'",
"composer run fix:dry-run || (printf \"\\e[41mCS Fixer found issues\\e[0m\\n\" && exit 1)"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true
}
}
}