-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
69 lines (69 loc) · 1.98 KB
/
Copy pathcomposer.json
File metadata and controls
69 lines (69 loc) · 1.98 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "vendor-name/replace-me-plugin",
"description": "Your description goes here",
"type": "wordpress-plugin",
"require": {
"forme/framework": "^4.2.0"
},
"require-dev": {
"captainhook/captainhook": "^5.0",
"dg/bypass-finals": "^1.4",
"fakerphp/faker": "^1.23",
"friendsofphp/php-cs-fixer": "^3.64",
"nunomaduro/larastan": "^2.2",
"pestphp/pest": "^4.0",
"php-stubs/acf-pro-stubs": "^6.0",
"php-stubs/woocommerce-stubs": "^10.6",
"php-stubs/wp-cli-stubs": "^2.10",
"phpstan/phpstan": "^1.12",
"ramsey/conventional-commits": "^1.3",
"symfony/var-dumper": "^7.0",
"szepeviktor/phpstan-wordpress": "^1.3.5"
},
"autoload": {
"psr-4": {
"VendorName\\ReplaceMePlugin\\": "app/"
},
"files": [
"helpers/helpers.php"
]
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"scripts": {
"test": "./tools/pest",
"stan": "./tools/phpstan",
"cs:check": "./tools/php-cs-fixer fix --config ./.php-cs-fixer.dist --dry-run --diff",
"cs:fix": "./tools/php-cs-fixer fix --config ./.php-cs-fixer.dist --diff",
"changelog": "git cliff -o CHANGELOG.md",
"git-hooks": "./tools/captainhook install -f",
"post-install-cmd": "@git-hooks"
},
"extra": {
"dev-files": [
"/scripts/*",
"/.*"
],
"installer-paths": {
"wp-test/public/wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
]
}
},
"config": {
"bin-dir": "tools",
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"pestphp/pest-plugin": true
}
}
}