Skip to content

Instantly share code, notes, and snippets.

@gmazzap
Created April 7, 2018 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmazzap/f457d5bd799c523f50cdef1e2ff785b5 to your computer and use it in GitHub Desktop.
Save gmazzap/f457d5bd799c523f50cdef1e2ff785b5 to your computer and use it in GitHub Desktop.
Simple example for WCTRN workshop.
{
"name": "gmazzap/wps-wctrn",
"description": "Simple example for WCTRN workshop.",
"type": "project",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"wecodemore/wpstarter": "^2.4"
},
"license": "MIT",
"authors": [
{
"name": "Giuseppe Mazzapica",
"email": "giuseppe.mazzapica@gmail.com"
}
],
"config": {
"optimize-autoloader": true
},
"scripts": {
"wpstarter": "WCM\\WPStarter\\Setup::run",
"post-install-cmd": "@wpstarter",
"post-update-cmd": "@wpstarter"
},
"extra": {
"wordpress-install-dir": "public/wp",
"wordpress-content-dir": "public/wp-content",
"wpstarter": {
"gitignore": true
},
"installer-paths": {
"public/wp-content/plugins/{$name}": [
"type:wordpress-plugin"
],
"public/wp-content/mu-plugins/{$name}": [
"type:wordpress-muplugin"
],
"public/wp-content/themes/{$name}": [
"type:wordpress-theme"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment