forked from solspace/craft-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
72 lines (72 loc) · 2.27 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
{
"name": "solspace/craft-calendar",
"description": "The most reliable and powerful event management plugin for Craft.",
"version": "3.3.16",
"type": "craft-plugin",
"authors": [
{
"name": "Solspace",
"homepage": "https://solspace.com"
}
],
"require": {
"craftcms/cms": "^3.6.0",
"php": ">=7.0",
"rlanvin/php-rrule": "~1.6.0",
"symfony/property-access": "^2.8|^3.0|^4.0|^5.0",
"symfony/finder": "^2.8|^3.0|^4.0|^5.0",
"symfony/filesystem": "^2.8|^3.0|^4.0|^5.0",
"solspace/craft3-commons": "^1.0.17",
"nesbot/carbon": "^1.22.1|^2.19"
},
"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": "3.3.2",
"handle": "calendar",
"class": "Solspace\\Calendar\\Calendar",
"name": "Calendar",
"developer": "Solspace",
"developerUrl": "https://docs.solspace.com/",
"documentationUrl": "https://docs.solspace.com/craft/calendar/v3/",
"changelogUrl": "https://raw.githubusercontent.com/solspace/craft-calendar/master/CHANGELOG.md",
"hasSettings": true,
"hasCpSection": true,
"hooks": {
"pre-commit": [
"set -e",
"npm -v",
"php -v",
"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)"
]
}
},
"config": {
"allow-plugins": {
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true
}
}
}