-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
60 lines (59 loc) · 1.77 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": "keboola/app-custom-query-manager",
"description": "Application to generate SQL queries",
"license": "MIT",
"require": {
"php": "^7.4",
"keboola/db-import-export": "^1.10",
"keboola/php-component": "^9.0",
"phpunit/phpunit": "^9.5"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.3",
"keboola/coding-standard": ">=7.0.2",
"keboola/datadir-tests": "^5.3",
"keboola/php-temp": "^2.0",
"phpstan/phpstan": "^1.4",
"symfony/process": "^5.0"
},
"autoload": {
"psr-4": {
"Keboola\\CustomQueryManagerApp\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Keboola\\CustomQueryManagerApp\\Tests\\": "tests/phpunit/",
"Keboola\\CustomQueryManagerApp\\FunctionalTests\\": "tests/functional/"
}
},
"scripts": {
"tests-phpunit": "phpunit",
"tests-datadir": "phpunit tests/functional",
"tests": [
"@tests-phpunit",
"@tests-datadir"
],
"phpstan": "phpstan analyse ./src ./tests --level=max --no-progress -c phpstan.neon",
"phpcs": "phpcs -n --ignore=vendor --extensions=php .",
"phpcbf": "phpcbf -n --ignore=vendor --extensions=php .",
"phplint": "parallel-lint -j 10 --exclude vendor .",
"build": [
"@phplint",
"@phpcs",
"@phpstan",
"@tests"
],
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@build"
]
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}