-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
24 lines (24 loc) · 940 Bytes
/
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
{
"name": "wordpress/wporg-gp-translation-events",
"description": "",
"license": "GPL-2.0-only",
"require-dev": {
"phpunit/phpunit": "^9.6.16",
"yoast/phpunit-polyfills": "^2.0.0",
"wp-coding-standards/wpcs": "^3.0"
},
"scripts":{
"lint": "phpcs --standard=phpcs.xml -s",
"lint:fix": "phpcbf --standard=phpcs.xml",
"dev:start": "wp-env start && wp-env run cli wp rewrite structure '/%postname%/'",
"dev:debug": "wp-env start --xdebug",
"dev:stop": "wp-env stop",
"dev:db:schema": "wp-env run cli --env-cwd=wp-content/plugins/wporg-gp-translation-events sh -c 'wp db query < schema.sql'",
"dev:test": "wp-env run tests-cli --env-cwd=wp-content/plugins/wporg-gp-translation-events ./vendor/bin/phpunit"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}