forked from WebDevStudios/constant-contact-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
60 lines (60 loc) · 1.92 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
{
"name":"constantcontact/constant-contact-forms",
"description":"Official WordPress plugin for Constant Contact Forms.",
"license":"GPL-3.0-or-later",
"homepage":"https://www.constantcontact.com",
"require":{
"monolog/monolog":"1.24",
"cmb2/cmb2":"~2.9.0",
"defuse/php-encryption":"2.2.1",
"google/recaptcha":"1.2.3",
"php":"~7.4"
},
"require-dev":{
"phpunit/phpunit":"^7",
"dealerdirect/phpcodesniffer-composer-installer":"^0.7.0",
"squizlabs/php_codesniffer":"3.6.2",
"wp-coding-standards/wpcs":"2.3.0",
"phpcompatibility/phpcompatibility-wp":"^2.0.0"
},
"authors":[
{
"name":"Constant Contact",
"homepage":"https://www.constantcontact.com"
},
{
"name":"WebDevStudios",
"homepage":"https://www.webdevstudios.com"
}
],
"extra":{
"phpcodesniffer-search-depth":5
},
"scripts":{
"dist":[
"rm -rf ./vendor",
"npm install",
"npm run build",
"rm -rf ./node_modules",
"rm -rf ./apigen.neon",
"rm -rf ./readme.md",
"rm -rf ./CHANGELOG.md",
"rm -rf ./CODEOWNERS",
"rm -rf ./phpcompat.xml.dist",
"rm -rf ./phpcs.xml.dist",
"@composer install --no-dev -a",
"@composer archive --format=zip --file constant-contact-forms",
"mv constant-contact-forms.zip $HOME/Desktop"
],
"install-codestandards":"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"fix":"@php ./vendor/bin/phpcbf --standard=phpcs.xml.dist",
"compat":"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist",
"lint":"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcs.xml.dist",
"post-install-cmd":[
"@install-codestandards"
],
"post-update-cmd":[
"@install-codestandards"
]
}
}