forked from kuria/composer-pkg-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
38 lines (38 loc) · 1.2 KB
/
composer.json
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
28
29
30
31
32
33
34
35
36
37
38
{
"name": "kuria/composer-pkg-scripts",
"type": "composer-plugin",
"description": "Composer plugin that provides a way for packages to expose scripts to the root project",
"keywords": ["composer", "package", "scripts", "script"],
"license": "MIT",
"require": {
"php": ">=7.1",
"ext-json": "*",
"composer-plugin-api": "^1.1 || ^2.0"
},
"require-dev": {
"composer/composer": "^1.6 || ^2.0",
"kuria/dev-meta": "^0.6"
},
"autoload": {
"psr-4": {
"Kuria\\ComposerPkgScripts\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Kuria\\ComposerPkgScripts\\": "tests"
}
},
"extra": {
"class": "Kuria\\ComposerPkgScripts\\Plugin"
},
"scripts": {
"all": ["@cs", "@tests"],
"tests": "phpunit --colors=always",
"cs": [
"phpcs '--standard=./vendor/kuria/dev-meta/src/CodeSniffer/ruleset.xml' -p -s --colors src tests",
"phpstan analyze --ansi --configuration=./vendor/kuria/dev-meta/conf/phpstan-src.neon src",
"phpstan analyze --ansi --configuration=./vendor/kuria/dev-meta/conf/phpstan-tests.neon tests"
]
}
}