This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
121 lines (121 loc) · 3.99 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "typisttech/wp-cloudflare-guard",
"description": "Connecting WordPress with Cloudflare firewall, protect your WordPress site at DNS level. Automatically create firewall rules to block dangerous IPs",
"keywords": [
"wordpress",
"wp",
"cloudflare",
"firewall",
"security"
],
"homepage": "https://github.com/TypistTech/wp-cloudflare-guard",
"license": "GPL-2.0+",
"authors": [
{
"name": "Typist Tech",
"email": "wp-cloudflare-guard@typist.tech",
"homepage": "https://www.typist.tech/"
},
{
"name": "Tang Rufus",
"email": "tangrufus@gmail.com",
"homepage": "https://www.typist.tech/",
"role": "Developer"
}
],
"support": {
"email": "wp-cloudflare-guard@typist.tech",
"issues": "https://github.com/TypistTech/wp-cloudflare-guard/issues",
"forum": "https://wordpress.org/support/plugin/wp-cloudflare-guard",
"source": "https://github.com/TypistTech/wp-cloudflare-guard"
},
"require": {
"php": "^7.0",
"cloudflare/cf-ip-rewrite": "^1.0",
"league/container": "^2.4.1",
"typisttech/cloudflare-wp-api": "^0.3.0",
"typisttech/imposter-plugin": "^0.2.5",
"typisttech/wp-better-settings": "^0.11.0",
"typisttech/wp-contained-hook": "^0.1.1"
},
"require-dev": {
"codeception/aspect-mock": "^2.0",
"doctrine/annotations": "<1.5.0",
"doctrine/instantiator": "<1.1.0",
"jakoch/phantomjs-installer": "^2.1",
"lucatume/wp-browser": "^1.21.3",
"neronmoon/scriptsdev": "^0.1.1",
"site5/phantoman": "^1.1",
"wp-coding-standards/wpcs": "^0.12.0"
},
"autoload": {
"classmap": [
"lib/"
],
"psr-4": {
"TypistTech\\WPCFG\\": "src/"
}
},
"scripts": {
"build": [
"rm -fr vendor",
"composer install --no-dev --prefer-dist --optimize-autoloader --no-suggest",
"yarn grunt clean",
"yarn grunt addtextdomain",
"yarn grunt makepot",
"yarn grunt cleanempty",
"composer archive --format=zip --dir=release --file=wp-cloudflare-guard"
],
"pre-tag": [
"composer update --no-suggest",
"yarn upgrade",
"yarn grunt version",
"yarn doctoc README.md",
"github_changelog_generator --no-verbose"
],
"check-style": "phpcs --standard=ruleset.xml --colors -p -s .",
"fix-style": "phpcbf --standard=ruleset.xml -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 .",
"install-dev-extra": [
"PhantomInstaller\\Installer::installPhantomJS",
"phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs"
],
"post-install-cmd": "@transform-vendor",
"post-update-cmd": "@transform-vendor",
"test": "codecept run",
"test-acceptance": "codecept run acceptance",
"test-functional": "codecept run functional",
"test-integration": "codecept run integration",
"test-unit": "codecept run unit",
"test-with-coverage": "codecept run --coverage --coverage-xml --coverage-html",
"transform-vendor": [
"yarn install",
"yarn grunt clean:install",
"cfwp build"
]
},
"config": {
"sort-packages": true
},
"extra": {
"imposter": {
"namespace": "TypistTech\\WPCFG\\Vendor"
},
"scripts-dev": {
"post-install-cmd": "@install-dev-extra",
"post-update-cmd": "@install-dev-extra"
}
},
"archive": {
"exclude": [
"/*",
".*",
"!/languages",
"!/lib",
"!/src",
"!/vendor",
"!/LICENSE",
"!/README.txt",
"!/*.php"
]
}
}