Skip to content

Commit

Permalink
Merge pull request #443 from cakephp/composer-scripts
Browse files Browse the repository at this point in the history
Add composer scripts to the default app skeleton.
  • Loading branch information
markstory committed Oct 28, 2016
2 parents 7aba13a + 1682d98 commit d5711c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
"scripts": {
"post-install-cmd": "App\\Console\\Installer::postInstall",
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
"post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump"
"post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump",
"check": [
"@cs-check",
"@test"
],
"cs-check": "vendor/bin/phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
"cs-fix": "vendor/bin/phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
"test": "vendor/bin/phpunit --colors=always"
},
"minimum-stability": "beta",
"prefer-stable": true
Expand Down

0 comments on commit d5711c8

Please sign in to comment.