Add composer scripts and box file

这个提交包含在:
Florian Brinker 2021-05-09 23:23:28 +02:00
父节点 8d452cf62b
当前提交 cece9d0d02
共有 2 个文件被更改,包括 19 次插入0 次删除

5
box.json 普通文件
查看文件

@ -0,0 +1,5 @@
{
"base-path": null,
"output": "build/extension-check.phar",
"chmod": "0700"
}

查看文件

@ -43,5 +43,19 @@
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"check": [
"./vendor/bin/phpcbf",
"./vendor/bin/phpcs",
"./vendor/bin/phpstan analyse"
],
"test" : [
"./vendor/bin/phpunit tests"
]
},
"scripts-descriptions": {
"check": "Check the sources for problems and style violations",
"test": "Run all tests"
}
}