forked from felixarntz/wp-oop-plugin-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
17 lines (17 loc) · 959 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"name": "wp-oop-plugin-lib",
"license": "GPL-2.0-or-later",
"repository": "git+https://github.com/felixarntz/wp-oop-plugin-lib.git",
"devDependencies": {
"@wordpress/env": "^9.9.0"
},
"scripts": {
"format-php": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer format",
"lint-php": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer lint",
"pretest-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer update",
"test-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) vendor/bin/phpunit -c phpunit.xml.dist --verbose",
"pretest-php-multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer update",
"test-php-multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose",
"wp-env": "wp-env"
}
}