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 3
/
composer.json
122 lines (122 loc) · 3.71 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
122
{
"name": "typisttech/sunny",
"description": "Automatically purge CloudFlare cache, including cache everything rules.",
"keywords": [
"wordpress",
"wp",
"cloudflare",
"firewall",
"security"
],
"homepage": "https://github.com/TypistTech/sunny",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Typist Tech",
"email": "sunny@typist.tech",
"homepage": "https://www.typist.tech/"
},
{
"name": "Tang Rufus",
"email": "tangrufus@gmail.com",
"homepage": "https://www.typist.tech/",
"role": "Developer"
}
],
"support": {
"email": "sunny@typist.tech",
"issues": "https://github.com/TypistTech/sunny/issues",
"forum": "https://wordpress.org/support/plugin/sunny",
"source": "https://github.com/TypistTech/sunny"
},
"require": {
"php": "^7.1",
"league/container": "^2.4",
"typisttech/cloudflare-wp-api": "^0.3.0",
"typisttech/imposter-plugin": "^0.3.0",
"typisttech/wp-better-settings": "^0.13.0",
"typisttech/wp-contained-hook": "^0.1.1"
},
"require-dev": {
"codeception/aspect-mock": "^2.0",
"jakoch/phantomjs-installer": "^2.1",
"lucatume/wp-browser": "^1.21",
"neronmoon/scriptsdev": "^0.1.1",
"site5/phantoman": "^2.0",
"wp-coding-standards/wpcs": "^0.14.0"
},
"autoload": {
"classmap": [
"lib/"
],
"psr-4": {
"TypistTech\\Sunny\\": "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=sunny"
],
"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": [
"@test-unit",
"@test-integration",
"@test-restapi",
"@test-acceptance"
],
"test-acceptance": "codecept run acceptance",
"test-integration": "codecept run integration",
"test-restapi": "codecept run restapi",
"test-unit": "codecept run unit",
"transform-vendor": [
"yarn install",
"yarn grunt clean:install",
"cfwp build"
]
},
"config": {
"sort-packages": true
},
"extra": {
"imposter": {
"namespace": "TypistTech\\Sunny\\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"
]
}
}