-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy path.wp-env.json
More file actions
27 lines (27 loc) · 804 Bytes
/
.wp-env.json
File metadata and controls
27 lines (27 loc) · 804 Bytes
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
{
"$schema": "https://schemas.wp.org/trunk/wp-env.json",
"core": "WordPress/WordPress#master",
"plugins": [ ".", "https://downloads.wordpress.org/plugin/ai-provider-for-google.zip", "https://downloads.wordpress.org/plugin/ai-provider-for-openai.zip" ],
"env": {
"development": {
"config": {
"WP_DEVELOPMENT_MODE": "plugin",
"WP_ENVIRONMENT_TYPE": "development",
"WP_DEBUG": true,
"WP_DEBUG_LOG": "/var/www/html/wp-content/plugins/ai/tests/_output/debug.log"
}
},
"tests": {
"config": {
"WP_DEBUG": true,
"FS_METHOD": "direct"
},
"mappings": {
"/wp-content/plugins/ai": "."
}
}
},
"lifecycleScripts": {
"afterStart": "wp-env run cli wp rewrite structure /%postname%/ --hard"
}
}