-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.97 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
{
"name": "natbienetre/publish2cloudflare",
"type": "wordpress-plugin",
"description": "WordPress plugin to publish static site to Cloudflare pages after simply-static generation.",
"require-dev": {
"yoast/phpunit-polyfills": "^2",
"phpunit/phpunit": "^9",
"wp-cli/wp-cli-bundle": "*"
},
"license": "MPL-2.0",
"authors": [
{
"name": "Pierre PÉRONNET",
"email": "[email protected]"
}
],
"scripts": {
"i18n": [
"wp i18n make-pot . languages/sspostexec.pot --exclude=\"vendor\"",
"wp i18n update-po languages/sspostexec.pot"
],
"i18n-build": [
"wp i18n make-mo languages",
"wp i18n make-json languages --no-purge --update-mo-files --pretty-print"
],
"version": [
"grep ' * Version:' simply-static-post-exec.php | sed -e 's/.*: *//'"
],
"ci-test": [
"wp scaffold plugin-tests simply-static-post-exec --dir=$(pwd) --force",
"./bin/install-wp-tests.sh wordpress root root localhost latest true",
"phpunit --no-interaction --log-junit junit-result.xml"
],
"build": [
"composer install --dev --prefer-dist --no-interaction --no-progress --no-suggest",
"composer run-script i18n-build",
"composer install --no-dev --prefer-dist --optimize-autoloader --no-interaction --no-progress --no-suggest",
"composer dump-autoload --no-dev --optimize --classmap-authoritative",
"zip -9vr simply-static-post-exec.zip . [email protected] -i *.php"
],
"test": [
"phpunit"
]
},
"require": {
"composer/installers": "^2.2",
"maclof/kubernetes-client": "^0.16.0",
"php-http/guzzle6-adapter": "^2.0",
"symfony/yaml": "^5.4"
},
"config": {
"allow-plugins": {
"composer/installers": true
}
}
}