forked from syntatis/wp-feature-flipper
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
160 lines (160 loc) · 4.87 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "syntatis/wp-feature-flipper",
"description": "Easily switch some features in WordPress, on and off",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"plugin",
"flipper",
"feature",
"rss",
"gutenberg",
"emojis",
"xmlrpc"
],
"authors": [
{
"name": "Thoriq Firdaus",
"homepage": "https://github.com/tfirdaus"
}
],
"license": "GPL-3.0",
"autoload": {
"psr-4": {
"Syntatis\\FeatureFlipper\\": "app/"
}
},
"autoload-dev": {
"files": [
"inc/bootstrap/dev.php"
],
"psr-4": {
"Syntatis\\Tests\\": [
"tests/phpunit/",
"tests/phpunit/app/"
]
}
},
"require": {
"php": ">=7.4",
"jaybizzle/crawler-detect": "^1.3",
"symfony/uid": "^5.4",
"syntatis/codex": "dev-main",
"syntatis/codex-settings-provider": "dev-main"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"filp/whoops": "^2.16",
"johnbillion/wp-compat": "^1.1",
"nunomaduro/collision": "^5.11",
"php-stubs/wordpress-tests-stubs": "^6.7",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "9.2.6",
"symfony/var-dumper": "^5.4",
"syntatis/codex-companion": "dev-main",
"syntatis/coding-standard": "^1.5",
"szepeviktor/phpstan-wordpress": "^2.0",
"wp-cli/i18n-command": "^2.6",
"yoast/wp-test-utils": "^1.2"
},
"suggest": {
"filp/whoops": "Provide better error handling in the browser",
"nunomaduro/collision": "Provide better error handling in the console"
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"build": [
"codex scoper:init --yes --no-dev",
"@make-pot"
],
"make-pot": "wp i18n make-pot --exclude=vendor,dist,build . inc/languages/syntatis-feature-flipper.pot",
"phpcs": "phpcs",
"phpcs:fix": "phpcbf",
"phpstan": "phpstan --memory-limit=1G",
"phpunit": "npm run wp-env:tests-wordpress vendor/bin/phpunit --",
"plugin:zip": "@composer archive --format=zip",
"scoper": "codex scoper:init"
},
"scripts-descriptions": {
"build": "Build the plugin for production",
"make-pot": "Generate the POT file for translations",
"phpcs": "Check the codebase for coding standards violations",
"phpcs:fix": "Fix coding standards violations",
"phpstan": "Analyse the codebase for static code errors",
"phpunit": "Run the test suite",
"plugin:zip": "Create a distributable zip file of the plugin",
"scoper": "Scope dependencies namespace with a prefix"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"syntatis/codex-companion": true
},
"preferred-install": "dist",
"sort-packages": true
},
"archive": {
"exclude": [
"*.config.*",
"*.dist",
"*.neon",
"*.inc.php",
"*.lock",
"*.map",
"*.md",
"*.xml*",
"*.zip",
".*",
"LICENSE",
"composer.json",
"dev.php",
"node_modules",
"package-lock.json",
"package.json",
"build",
"src",
"tests",
"vendor",
"vendor-bin",
"!dist/autoload/composer.json",
"!dist/autoload/vendor"
]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
},
"codex": {
"scoper": {
"prefix": "SSFV",
"exclude-namespaces": [
"NunoMaduro\\Collision",
"Syntatis\\Tests",
"Whoops"
],
"install-dev": [
"filp/whoops",
"nunomaduro/collision",
"symfony/var-dumper"
],
"finder": {
"not-path": [
"psalm.xml",
"jaybizzle/crawler-detect/raw",
"jaybizzle/crawler-detect/export.php"
]
}
}
}
}
}