Skip to content

Commit a6fd182

Browse files
authored
Scripts: Add generic wp-env command (#1238)
Gives access to arbitrary wp-env commands by passing them through `--`
1 parent 39dfabc commit a6fd182

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"scripts": {
1313
"dev": "wp-scripts start",
1414
"build": "wp-scripts build",
15+
"env": "wp-env",
1516
"env-start": "wp-env start && wp-env run cli wp rewrite structure '/%year%/%monthnum%/%postname%/'",
1617
"env-stop": "wp-env stop",
1718
"env-test": "wp-env run tests-cli --env-cwd=\"wp-content/plugins/activitypub\" vendor/bin/phpunit",

0 commit comments

Comments
 (0)