-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
88 lines (88 loc) · 2.82 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
{
"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":"2.9.1",
"cmb2/cmb2":"2.10.1",
"defuse/php-encryption":"2.2.1",
"google/recaptcha":"1.2.4",
"php": "^7.4|~8.0"
},
"require-dev":{
"phpunit/phpunit": "^7.4|~8.0",
"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 ./.git",
"rm -rf ./.DS_Store",
"rm -rf ./.distignore",
"rm -rf ./.github",
"rm -rf ./.gitignore",
"rm -rf ./.nvmrc",
"rm -rf ./.prettierignore",
"rm -rf ./.prettierrc",
"rm -rf ./.prettierrc.js",
"rm -rf ./.stylelintignore",
"rm -rf ./.stylelintrc.json",
"rm -rf ./.travis.yml",
"rm -rf ./.wordpress-org",
"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",
"rm -rf ./gulpfile.js",
"rm -rf ./package.json",
"rm -rf ./package-lock.json",
"rm -rf ./phpcompat.xml.dist",
"rm -rf ./phpunit.xml.dist",
"rm -rf ./plugin-config.js",
"rm -rf ./tests",
"rm -rf ./webpack.config.js",
"@composer install --no-dev -a",
"@composer archive --format=zip --file constant-contact-forms",
"rm -rf ./composer.json",
"rm -rf ./composer.lock",
"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"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}