-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
34 lines (34 loc) · 1.43 KB
/
package.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
{
"name": "flush-transients",
"description": "This plugin allows you to flush WordPress transients, plain and simple.",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"plugin",
"transients",
"cache",
"flushing",
"invalidation",
"performance"
],
"homepage": "https://wordpress.org/plugins/flush-transients/",
"author": {
"name": "Felix Arntz",
"email": "hello@felix-arntz.me",
"url": "https://felix-arntz.me"
},
"repository": "git+https://github.com/felixarntz/flush-transients.git",
"devDependencies": {
"@wordpress/env": "^10.6.0"
},
"scripts": {
"format-php": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer format",
"phpstan": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer phpstan",
"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"
}
}