-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpackage.json
More file actions
16 lines (16 loc) · 924 Bytes
/
package.json
File metadata and controls
16 lines (16 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"devDependencies": {
"@wordpress/env": "^10.22.0"
},
"scripts": {
"env": "wp-env",
"lint:php": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run lint",
"format:php": "wp-env run cli --env-cwd=wp-content/plugins/plugin composer run format",
"test:php:install-deps": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer install",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run test",
"test:php:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run test:multisite",
"coverage:php:single": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run coverage:single",
"coverage:php:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run coverage:multisite",
"coverage:php:full": "wp-env run tests-cli --env-cwd=wp-content/plugins/plugin composer run coverage:full"
}
}