-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
93 lines (93 loc) · 3 KB
/
Copy pathcomposer.json
File metadata and controls
93 lines (93 loc) · 3 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
{
"name": "visus/cuid2",
"description": "A PHP library for generating collision-resistant ids (CUIDs).",
"license": "MIT",
"type": "library",
"keywords": [
"cuid",
"identifier"
],
"authors": [
{
"name": "Alan Brault",
"email": "alan.brault@visus.io"
}
],
"require": {
"php": "^8.2",
"symfony/polyfill-php83": "^1.32"
},
"require-dev": {
"captainhook/captainhook": "^5.27",
"captainhook/hook-installer": "^1.0",
"captainhook/plugin-composer": "^5.3",
"dealerdirect/phpcodesniffer-composer-installer": "^1.2",
"ergebnis/composer-normalize": "^2.29",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpbench/phpbench": "^1.4",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^12.5.22",
"ramsey/conventional-commits": "^1.5",
"slevomat/coding-standard": "^8.25",
"squizlabs/php_codesniffer": "^4.0"
},
"suggest": {
"ext-gmp": "Enables faster math with arbitrary precision integers using GMP."
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Visus\\Cuid2\\": "src/"
},
"files": [
"src/compat.php"
]
},
"autoload-dev": {
"psr-4": {
"Visus\\Cuid2\\Test\\": "tests/",
"Visus\\Cuid2\\Test\\Benchmark\\": "tests/benchmark"
}
},
"config": {
"allow-plugins": {
"captainhook/hook-installer": true,
"captainhook/plugin-composer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
},
"extra": {
"captainhook": {
"force-install": true
}
},
"scripts": {
"dev:analyze": [
"@dev:analyze:phpstan"
],
"dev:analyze:phpstan": [
"phpstan analyse -c phpstan.neon --ansi --memory-limit=1G"
],
"dev:benchmark": "phpbench run tests/benchmark/ --report=default",
"dev:build:clean": "git clean -fX build/",
"dev:lint": [
"@dev:lint:syntax",
"@dev:lint:style"
],
"dev:lint:fix": "phpcbf --cache=build/cache/phpcs.cache",
"dev:lint:style": "phpcs --cache=build/cache/phpcs.cache --colors",
"dev:lint:syntax": "parallel-lint --colors src/ tests/",
"dev:test": [
"@dev:lint",
"@dev:benchmark",
"@dev:analyze",
"@dev:test:unit"
],
"dev:test:coverage:ci": "@php -d 'xdebug.mode=coverage' vendor/bin/phpunit --colors=always --coverage-clover build/coverage/xml/clover.xml --log-junit build/coverage/xml/execution.xml",
"dev:test:coverage:html": "@php -d 'xdebug.mode=coverage' vendor/bin/phpunit --colors=always --coverage-html build/coverage/html",
"dev:test:unit": "phpunit --colors=always --no-coverage",
"test": "@dev:test"
}
}