-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
49 lines (49 loc) · 1.7 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
{
"name": "pronamic/wp-pronamic-reviews-ratings",
"description": "The Pronamic Reviews Ratings plugin for WordPress is a powerful, extendable reviews and ratings plugin.",
"type": "wp-plugin",
"license": "GPL-3.0-or-later",
"autoload": {
"psr-4": {
"Pronamic\\WordPress\\ReviewsRatings\\": "src/"
},
"files": [
"includes/functions.php",
"includes/gravityforms.php"
]
},
"authors": [
{
"name": "Pronamic",
"email": "[email protected]"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"bamarni/composer-bin-plugin": true
}
},
"require-dev": {
"pronamic/wp-coding-standards": "^1.0",
"bamarni/composer-bin-plugin": "^1.4",
"roots/wordpress": "^5.8"
},
"scripts": {
"phpcbf":"vendor/bin/phpcbf",
"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
"phplint": "find admin examples includes src templates views -name '*.php' | xargs -n 1 -P 4 php -l",
"phpstan": "vendor/bin/phpstan analyse",
"post-install-cmd": "echo 'Optionally run: composer bin all install'",
"post-update-cmd": "echo 'Optionally run: composer bin all update'",
"psalm": "vendor/bin/psalm",
"make-i18n-json": "wp i18n make-json languages/*.po --no-purge",
"make-pot": "wp i18n make-pot . languages/pronamic_reviews_ratings.pot --slug='pronamic_reviews_ratings' --exclude=wordpress",
"update-po": "find languages/*.po -type f -exec msgmerge --update --backup=off {} languages/pronamic_reviews_ratings.pot \\;",
"build": [
"@make-pot",
"@update-po"
]
}
}