forked from solspace/craft-freeform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
78 lines (78 loc) · 2.52 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
{
"name": "solspace/craft-freeform",
"description": "Reliable form builder that's ready for wherever your project takes you.",
"version": "3.13.21",
"type": "craft-plugin",
"authors": [
{
"name": "Solspace",
"homepage": "https://solspace.com/"
}
],
"require": {
"composer/composer": "^1.0|^2.0.13",
"craftcms/cms": "^3.4.0",
"symfony/property-access": "^2.8|^3.0|^4.0|^5.0|^6.0",
"symfony/finder": "^2.8|^3.0|^4.0|^5.0|^6.0",
"symfony/filesystem": "^2.8|^3.0|^4.0|^5.0|^6.0",
"solspace/craft3-commons": "^1.0.21",
"hashids/hashids": "^2.0|^3.0|^4.0",
"egulias/email-validator": "^2.1|^3.0",
"nesbot/carbon": "^1.22.1|^2.19",
"stripe/stripe-php": "^7.27.3",
"phpoffice/phpspreadsheet": "^1.6.0",
"league/flysystem": "^1.1.4",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.3.0",
"friendsofphp/php-cs-fixer": "^3.4.0",
"brainmaestro/composer-git-hooks": "^2.8"
},
"autoload": {
"psr-4": {
"Solspace\\Freeform\\": "packages/plugin/src/",
"Solspace\\Tests\\Freeform\\": "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.6.4",
"handle": "freeform",
"class": "Solspace\\Freeform\\Freeform",
"name": "Freeform",
"developer": "Solspace",
"developerUrl": "https://docs.solspace.com/",
"documentationUrl": "https://docs.solspace.com/craft/freeform/v3/",
"changelogUrl": "https://raw.githubusercontent.com/solspace/craft-freeform/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": {
"platform-check": false,
"allow-plugins": {
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true
}
}
}