-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathcomposer.json
More file actions
36 lines (36 loc) · 1.5 KB
/
Copy pathcomposer.json
File metadata and controls
36 lines (36 loc) · 1.5 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
{
"name": "wordpress/press-this",
"description": "A little tool that lets you grab bits of the web and create new posts with ease.",
"type": "project",
"license": "GPL-2.0-or-later",
"require": {},
"require-dev": {
"automattic/wordbless": "^0.6",
"dealerdirect/phpcodesniffer-composer-installer": "v1.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"sirbrillig/phpcs-changed": "^2.11",
"sirbrillig/phpcs-variable-analysis": "^2",
"wp-coding-standards/wpcs": "^3.3",
"yoast/phpunit-polyfills": "^2.0 || ^3.0"
},
"scripts": {
"post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy",
"post-update-cmd": "WorDBless\\Composer\\InstallDropin::copy",
"php:compatibility": "vendor/bin/phpcs -p -s --runtime-set testVersion '5.6-' --standard=PHPCompatibilityWP --ignore=docker,tools,tests,node_modules,vendor --extensions=php",
"php:lint": "vendor/bin/phpcs -p -s",
"php:changed": "vendor/sirbrillig/phpcs-changed/bin/phpcs-changed --git",
"php:autofix": "vendor/bin/phpcbf",
"php:lint:errors": "vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1",
"test:php": "vendor/bin/phpunit"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"wordpress-install-dir": "wordpress"
}
}