-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
55 lines (55 loc) · 2.01 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
{
"name": "allanmcarvalho/cakephp-datatables",
"type": "cakephp-plugin",
"description": "DataTables plugin for CakePHP 4.x",
"homepage": "https://github.com/allanmcarvalho/cakephp-datatables",
"license": "MIT",
"authors": [
{
"name": "Allan Carvalho",
"homepage": "https://wsssoftware.com.br",
"role": "Maintainer"
},
{
"name": "Contributors",
"homepage": "https://github.com/allanmcarvalho/cakephp-datatables/graphs/contributors",
"role": "Contributor"
}
],
"require": {
"php": ">=7.2",
"cakephp/cakephp": "^4.0",
"twig/twig": "^3.0",
"matthiasmullie/minify": "^1.3.50",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"fig-r/psr2r-sniffer": "dev-master"
},
"support": {
"source": "https://github.com/allanmcarvalho/cakephp-datatables"
},
"autoload": {
"psr-4": {
"DataTables\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DataTables\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"TestApp\\": "tests/test_app/src/"
}
},
"prefer-stable": true,
"minimum-stability": "dev",
"scripts": {
"phpstan": "phpstan analyse -c tests/phpstan.neon -l 5 src/",
"phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^0.12 && mv composer.backup composer.json",
"test": "php phpunit.phar",
"test-setup": "[ ! -f phpunit.phar ] && wget https://phar.phpunit.de/phpunit-8.5.2.phar && mv phpunit-8.5.2.phar phpunit.phar || true",
"cs-check": "phpcs -p -s --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/config/Migrations/ --extensions=php src/ tests/ config/",
"cs-fix": "phpcbf -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/config/Migrations/ --extensions=php src/ tests/ config/"
}
}