-
Notifications
You must be signed in to change notification settings - Fork 14
/
composer.json
103 lines (103 loc) · 3.1 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
{
"name": "pronamic/wp-pronamic-google-maps",
"type": "wordpress-plugin",
"description": "This plugin makes it easy to add Google Maps to your WordPress post, pages or other custom post types.",
"keywords": [
"pronamic",
"google",
"maps",
"geo",
"geocode"
],
"homepage": "https://github.com/pronamic/wp-pronamic-google-maps",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Remco Tolsma",
"email": "[email protected]",
"homepage": "https://www.remcotolsma.nl/",
"role": "Developer"
},
{
"name": "Reüel van der Steege",
"email": "[email protected]",
"homepage": "https://www.reuel.nl/",
"role": "Developer"
},
{
"name": "Karel-Jan Tolsma",
"email": "[email protected]",
"homepage": "https://www.kareljantolsma.nl/",
"role": "Designer"
},
{
"name": "Leo Oosterloo",
"email": "[email protected]",
"homepage": "https://www.leo-oosterloo.eu/",
"role": "Designer"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org/"
}
],
"config": {
"platform": {
"php": "8.1"
},
"platform-check": false,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"composer/installers": true
},
"wp-slug": "pronamic-google-maps"
},
"require": {
"php": ">=8.1",
"ext-json": "*"
},
"require-dev": {
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.11",
"pronamic/changelog-md-to-wordpress-plugin-readme-txt": "dev-main",
"pronamic/pronamic-cli": "^1.1",
"pronamic/wp-coding-standards": "^2.2",
"roots/wordpress-no-content": "^6.7",
"vimeo/psalm": "^5.24"
},
"scripts": {
"build": [
"@changelog",
"rm -rf ./build",
"mkdir ./build",
"mkdir ./build/stage-1",
"mkdir ./build/stage-2",
"rsync --recursive --verbose --exclude-from=.distignore --exclude-from=.gitignore ./ ./build/stage-1/",
"composer install --no-dev --prefer-dist --optimize-autoloader --working-dir=./build/stage-1/",
"rsync --recursive --verbose --exclude-from=.distignore ./build/stage-1/ ./build/stage-2/",
"vendor/bin/wp i18n make-pot ./build/stage-2/ --slug=pronamic-google-maps",
"vendor/bin/wp i18n make-mo ./build/stage-2/languages/",
"vendor/bin/wp dist-archive ./build/stage-2/ --plugin-dirname=pronamic-google-maps"
],
"changelog": "Pronamic\\ChangelogMdToWordPressPluginReadmeTxt\\Synchronizer::run",
"translate": [
"@build",
"rsync --recursive --delete --verbose ./build/project/languages/ ./languages/",
"@update-po"
],
"version": [
"@build"
],
"phpcbf": "XDEBUG_MODE=off vendor/bin/phpcbf",
"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
"phplint": "find classes examples includes src views -name '*.php' | xargs -n 1 -P 4 php -l",
"phpmd": "vendor/bin/phpmd classes,examples,includes,src,views text phpmd.ruleset.xml --suffixes php",
"phpstan": "XDEBUG_MODE=off vendor/bin/phpstan analyse --memory-limit=-1",
"psalm": "XDEBUG_MODE=off vendor/bin/psalm",
"update-po": "find languages/*.po -type f -exec msgmerge --update --backup=off {} languages/pronamic-google-maps.pot \\;"
}
}