-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
43 lines (43 loc) · 1.27 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
{
"name": "passchn/cakephp-vite",
"description": "ViteJS plugin for CakePHP",
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0"
},
"require-dev": {
"cakedc/cakephp-phpstan": "^3.0",
"cakephp/cakephp-codesniffer": "^5.0.0",
"phpunit/phpunit": "^10.1.0"
},
"autoload": {
"psr-4": {
"ViteHelper\\": "src/",
"TestApp\\": "tests/test_app/src/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
},
"autoload-dev": {
"psr-4": {
"ViteHelper\\Test\\TestCase\\": "tests/TestCase/",
"TestApp\\": "tests/test_app/src/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"scripts": {
"test": "phpunit",
"cs-check": "phpcs --colors --parallel=16 -p src/",
"cs-fix": "phpcbf --colors --parallel=16 -p src/",
"stan": "phpstan analyse",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.7.0 && mv composer.backup composer.json",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json"
},
"prefer-stable": true
}