-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
61 lines (61 loc) · 1.57 KB
/
Copy pathcomposer.json
File metadata and controls
61 lines (61 loc) · 1.57 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
{
"name": "automattic/newspack-event-logger-nodes",
"description": "Event-logger application built on the newspack-nodes runtime",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=8.2"
},
"autoload": {
"classmap": [
"includes/"
]
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"brainmaestro/composer-git-hooks": "^3.0",
"phpstan/phpstan": "^2.1",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0",
"php-stubs/wp-cli-stubs": "^2.12",
"phpunit/phpunit": "^10.0",
"phpstan/phpstan-strict-rules": "^2.0",
"shipmonk/dead-code-detector": "^1.2"
},
"config": {
"platform": {
"php": "8.2"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"extra": {
"hooks": {
"pre-commit": "./node_modules/.bin/lint-staged",
"commit-msg": "cat $1 | ./node_modules/.bin/commitlint",
"pre-push": "./scripts/pre-push"
},
"phpstan/extension-installer": {
"ignore": [
"phpstan/phpstan-strict-rules",
"shipmonk/dead-code-detector"
]
}
},
"scripts": {
"lint": "phpcs",
"lint:fix": "phpcbf",
"build:autoloaders": "composer install --optimize-autoloader",
"build-release": "./build-release.sh",
"post-install-cmd": [
"[ -f vendor/bin/cghooks ] && vendor/bin/cghooks add --no-lock --force-win || true"
],
"post-update-cmd": [
"[ -f vendor/bin/cghooks ] && vendor/bin/cghooks update || true"
]
}
}