-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathcomposer.json
124 lines (124 loc) · 4.06 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "parsely/wp-parsely",
"type": "wordpress-plugin",
"description": "The Parse.ly WordPress plugin.",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Parsely",
"email": "[email protected]",
"homepage": "https://www.parse.ly",
"role": "Developer"
}
],
"require": {
"php": ">=7.2",
"composer/installers": "^2",
"ext-dom": "*",
"ext-libxml": "*"
},
"require-dev": {
"automattic/vipwpcs": "^3.0.0",
"axepress/wp-graphql-stubs": "^1.13",
"php-parallel-lint/php-parallel-lint": "^1.0",
"php-stubs/wordpress-tests-stubs": "^6.1.1",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-mockery": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1",
"phpstan/phpstan": "^1.4",
"rector/rector": "^1.0.0",
"szepeviktor/phpstan-wordpress": "^1.0",
"tomasvotruba/type-coverage": "^1.0.0",
"yoast/wp-test-utils": "^1"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"psr-4": {
"Parsely\\Tests\\": "tests/"
}
},
"scripts": {
"coverage": [
"@putenv WP_MULTISITE=1",
"@php ./vendor/bin/phpunit --coverage-html ./build/coverage-html/unit -v"
],
"coverage-ci": [
"@putenv WP_MULTISITE=1",
"@php ./vendor/bin/phpunit -v"
],
"coveragewp": [
"@putenv WP_MULTISITE=1",
"@php ./vendor/bin/phpunit --coverage-html ./build/coverage-html/integration -c phpunit-integration.xml.dist -v"
],
"coveragewp-ci": [
"@putenv WP_MULTISITE=1",
"@php ./vendor/bin/phpunit -c phpunit-integration.xml.dist -v"
],
"cs": [
"@php ./vendor/bin/phpcs --severity=1"
],
"cbf": [
"@php ./vendor/bin/phpcbf"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-ci": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle"
],
"prepare-ci": [
"bash bin/install-wp-tests.sh wordpress_test root root localhost"
],
"test": [
"@php ./vendor/bin/phpunit --no-coverage --order-by=random"
],
"static-analysis": [
"@php ./vendor/bin/phpstan analyze --memory-limit=2G"
],
"test-ms": [
"@putenv WP_MULTISITE=1",
"@composer test"
],
"testwp": [
"@php ./vendor/bin/phpunit --no-coverage --order-by=random -c phpunit-integration.xml.dist"
],
"testwp-experimental": [
"@php ./vendor/bin/phpunit --no-coverage --order-by=random -c phpunit-experimental.xml.dist"
],
"testwp-ms": [
"@putenv WP_MULTISITE=1",
"@composer testwp"
],
"gen-autoload": [
"@composer dump-autoload --classmap-authoritative"
]
},
"scripts-descriptions": {
"coverage": "Run unit tests with code coverage for the Parse.ly plugin, send results to stdout, and generate plus local HTML output.",
"coverage-ci": "Run unit tests with code coverage for the Parse.ly plugin and send results to stdout.",
"coveragewp": "Run integration tests with code coverage for the Parse.ly plugin, send results to stdout, and generate local HTML output.",
"coveragewp-ci": "Run integration tests with code coverage for the Parse.ly plugin and send results to stdout.",
"cs": "Run PHPCS to checking coding standards for the Parse.ly plugin.",
"cbf": "Run PHPCBF to fix code based on coding standards for the Parse.ly plugin.",
"lint": "Run PHP linting on the Parse.ly plugin.",
"lint-ci": "Run PHP linting on the Parse.ly plugin with checkstyle output for CI.",
"prepare-ci": "Install the files and setup a database needed to run tests for the Parse.ly plugin for CI.",
"test": "Run the unit tests for the Parse.ly plugin.",
"test-ms": "Run the unit tests for the Parse.ly plugin on a multisite install.",
"testwp": "Run the integration tests for the Parse.ly plugin.",
"testwp-ms": "Run the integration tests for the Parse.ly plugin on a multisite install.",
"gen-autoload": "Generates the autoload class map with authoritative class maps."
}
}