-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
executable file
·64 lines (63 loc) · 1.71 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
61
62
63
64
{
"name": "keboola/json-parser",
"description": "Keboola JSON to CSV parser",
"license": "MIT",
"keywords": ["json", "csv", "parser", "converter", "json2csv"],
"authors": [
{
"name": "Keboola",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"ext-json": "*",
"keboola/php-csvtable": "~2.1.0",
"keboola/php-temp": "^2.0",
"keboola/php-utils": "^4.1",
"monolog/monolog": "^2.2"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpstan/phpstan": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"keboola/coding-standard": ">=9.0"
},
"autoload": {
"psr-4": {
"Keboola\\Json\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Keboola\\Json\\Tests\\": "tests/phpunit"
}
},
"scripts": {
"tests-phpunit": "phpunit",
"tests": [
"@tests-phpunit"
],
"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
}
}
}