This repository was archived by the owner on Sep 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcomposer.json
84 lines (84 loc) · 2.18 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "googlechromelabs/wp-sitemaps",
"description": "Core Sitemaps project",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"config": {
"preferred-install": "dist",
"sort-packages": true,
"autoloader-suffix": "csm",
"platform": {
"php": "5.6"
},
"process-timeout": 600,
"vendor-dir": "vendor"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"scripts": {
"post-install-cmd": [
"@setup"
],
"post-update-cmd": [
"@setup"
],
"setup": [
"@composer run-script --list"
],
"local:flush": [
"wp @local rewrite flush"
],
"local:tests": [
"@test:phpcs",
"@local:phpunit"
],
"local:phpunit": [
"wp @local db query --dbuser=root --dbpass=password \"CREATE DATABASE IF NOT EXISTS wordpress_test DEFAULT CHARSET utf8\"",
"vagrant ssh -c \"cd /vagrant/content/plugins/core-sitemaps && WP_TESTS_DB_PASS=password composer run test:phpunit\""
],
"test:phpcs": [
"phpcs"
],
"test:phpunit": [
"vendor/bin/phpunit --colors=always"
]
},
"scripts-descriptions": {
"setup": "Sets up the development environment.",
"local:flush": "Flush rewrite rules (local).",
"local:phpunit": "Run PHPUnit tests (local).",
"test:phpunit": "Run PHPUnit tests.",
"test:phpcs": "Runs the PHP code sniffer."
},
"require": {
"php": ">=5.6.0",
"composer/installers": "~1.0",
"oomphinc/composer-installers-extender": "^1.1",
"ext-simplexml": "*"
},
"require-dev": {
"ext-dom": "*",
"ext-libxml": "*",
"ext-xsl": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.5",
"roave/security-advisories": "dev-master",
"roots/wordpress": "dev-master",
"sirbrillig/phpcs-variable-analysis": "^2.8",
"wp-cli/wp-cli": "^2.2",
"wp-cli/wp-cli-bundle": "^2.2",
"wp-coding-standards/wpcs": "^2.2",
"wp-phpunit/wp-phpunit": "^5.3"
},
"extra": {
"installer-types": [
"library"
],
"wordpress-install-dir": "tests/app/www"
}
}