-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
60 lines (60 loc) · 1.74 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "lucidtaz/yii2-scssphp",
"description": "Yii2 bindings for scssphp",
"type": "library",
"license": [
"MIT"
],
"require": {
"php": ">=7.1.0",
"yiisoft/yii2": "^2.0.13",
"scssphp/scssphp": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"phpstan/phpstan": "^0.11.2",
"phpstan/phpstan-phpunit": "^0.11.0",
"guzzlehttp/guzzle": "^6.3"
},
"autoload": {
"psr-4": { "lucidtaz\\yii2scssphp\\": "src/" }
},
"autoload-dev": {
"psr-4": { "lucidtaz\\yii2scssphp\\tests\\": "tests/" }
},
"authors": [
{
"name": "Thijs Zumbrink",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"scripts": {
"unit": "@php vendor/bin/phpunit --testsuite Unit",
"setup-integration": [
"@teardown-integration",
"docker build -f docker/integration/Dockerfile -t yii2-scssphp-integration-test .",
"docker run -d --rm -p \"8080:8080\" --name yii2-scssphp-integration-test yii2-scssphp-integration-test",
"sleep 5"
],
"integration": [
"@php vendor/bin/phpunit --testsuite Integration"
],
"teardown-integration": [
"docker kill yii2-scssphp-integration-test || true"
],
"stan": "@php vendor/bin/phpstan analyse -c phpstan.neon src tests --level=7 --autoload-file=vendor/yiisoft/yii2/Yii.php",
"ci": [
"@stan",
"@unit",
"@setup-integration",
"@integration",
"@teardown-integration"
]
}
}