-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
49 lines (49 loc) · 1.37 KB
/
composer.json
File metadata and controls
49 lines (49 loc) · 1.37 KB
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": "peroks/peroks-basic-tools",
"description": "Basic tools and classes for use in other WordPress plugins.",
"license": "MIT",
"type": "wordpress-plugin",
"authors": [
{
"name": "Per Egil Roksvaag",
"homepage": "https://github.com/peroks"
}
],
"require": {
"php": ">=8.1"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.48.0",
"wp-cli/i18n-command": "^2.6",
"wp-coding-standards/wpcs": "^3.2.0"
},
"minimum-stability": "stable",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"platform": {
"php": "8.1"
},
"sort-packages": true
},
"scripts": {
"post-install-cmd": "@composer normalize --no-interaction",
"post-update-cmd": "@composer normalize --no-interaction",
"build-deploy": "@composer install --no-dev",
"build-install": "@composer install",
"build-lock": "@composer update --with-all-dependencies --no-install",
"build-update": "@composer update --with-all-dependencies",
"check-outdated": "@composer outdated",
"clean": "rm -rf ./vendor",
"lint": [
"@composer lint:fix",
"@composer lint:check"
],
"lint:check": "./vendor/bin/phpcs ./*.php ./inc",
"lint:fix": "./vendor/bin/phpcbf ./*.php ./inc",
"make-json": "wp i18n make-json languages/ --no-purge",
"make-pot": "wp i18n make-pot . --include=./*.php,./inc"
}
}