Browse Source

added script events to schema

Tobias Munk 11 years ago
parent
commit
dac2f03847
1 changed files with 8 additions and 0 deletions
  1. 8 0
      res/composer-schema.json

+ 8 - 0
res/composer-schema.json

@@ -290,6 +290,14 @@
                 "post-autoload-dump": {
                     "type": ["array", "string"],
                     "description": "Occurs after the autoloader is dumped, contains one or more Class::method callables or shell commands."
+                },
+                "post-root-package-install": {
+                    "type": ["array", "string"],
+                    "description": "Occurs after the root-package is installed, contains one or more Class::method callables or shell commands."
+                },
+                "post-create-project-cmd": {
+                    "type": ["array", "string"],
+                    "description": "Occurs after the create-project command is executed, contains one or more Class::method callables or shell commands."
                 }
             }
         },