-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
105 lines (104 loc) · 3.95 KB
/
composer.json
File metadata and controls
105 lines (104 loc) · 3.95 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "keboola/db-import-export",
"authors": [
{
"name": "Keboola",
"email": "devel@keboola.com"
}
],
"description": "Package allows to import files to Snowflake from multiple cloud storages",
"license": "MIT",
"require": {
"php": "^8.3",
"ext-json": "*",
"ext-pdo": "*",
"ext-bcmath": "*",
"doctrine/dbal": "^3.3",
"google/cloud-bigquery": "^1.23",
"google/cloud-storage": "^1.27",
"keboola/csv-options": "^1",
"keboola/php-csv-db-import": "^6",
"keboola/php-datatypes": ">=8",
"keboola/php-file-storage-utils": "^0.2.2",
"keboola/php-temp": "^2.0",
"keboola/table-backend-utils": ">=3",
"microsoft/azure-storage-blob": "^1.4",
"symfony/process": "^4.4|^5.0|^6.0"
},
"require-dev": {
"flow-php/filesystem": "^0.21.0",
"flow-php/parquet": "^0.21.0",
"flow-php/types": "^0.21.0",
"keboola/coding-standard": "^16",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^2",
"phpstan/phpstan-phpunit": "^2",
"phpunit/phpunit": "^12",
"react/async": "^4||^3",
"symfony/finder": "^5.4"
},
"autoload": {
"psr-4": {
"Keboola\\Db\\ImportExport\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Keboola\\Db\\ImportExportCommon\\": "tests/Common",
"Tests\\Keboola\\Db\\ImportExportUnit\\": "tests/unit",
"Tests\\Keboola\\Db\\ImportExportFunctional\\": "tests/functional/"
}
},
"scripts": {
"tests-unit": "phpunit --colors=always --testsuite unit",
"tests-storage": "phpunit --colors=always --testsuite storage",
"tests-snowflake-abs": "SUITE=tests-snowflake STORAGE_TYPE=ABS BUILD_PREFIX=$BUILD_PREFIX phpunit --colors=always --testsuite snowflake-abs",
"tests-snowflake-s3": "SUITE=tests-snowflake-s3 STORAGE_TYPE=S3 BUILD_PREFIX=$BUILD_PREFIX phpunit --colors=always --testsuite snowflake-s3",
"tests-snowflake-gcs": "SUITE=tests-snowflake-gcs STORAGE_TYPE=GCS BUILD_PREFIX=$BUILD_PREFIX phpunit --colors=always --testsuite snowflake-gcs",
"tests-bigquery": "SUITE=tests-bigquery STORAGE_TYPE=GCS phpunit --colors=always --testsuite tests-bigquery",
"tests-functional": [
"@tests-snowflake-abs",
"@tests-snowflake-s3",
"@tests-bigquery"
],
"tests": [
"@tests-unit",
"@tests-functional"
],
"phpstan": "phpstan analyse ./src ./tests --level=max --no-progress -c phpstan.neon",
"phpcs": "phpcs -n --ignore=*/vendor/* --extensions=php .",
"phpcs-report": "phpcs -n --report=source -s --ignore=*/vendor/* --extensions=php .",
"phpcbf": "phpcbf -n --ignore=*/vendor/* --extensions=php .",
"phplint": "parallel-lint -j 10 --exclude vendor --exclude provisioning .",
"loadAbs": "php ./tests/Common/StubLoader/loader.php abs",
"loadS3": "php ./tests/Common/StubLoader/loader.php s3",
"loadGcs-snowflake": "php ./tests/Common/StubLoader/loader.php gcs-snowflake",
"loadGcs-bigquery": "php ./tests/Common/StubLoader/loader.php gcs-bigquery",
"load-data": [
"@loadAbs",
"@loadS3",
"@loadGcs-snowflake",
"@loadGcs-bigquery"
],
"build": [
"@phplint",
"@phpcs",
"@phpstan",
"@tests-unit"
],
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@build"
]
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"lock": false,
"allow-plugins": {
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}