-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
86 lines (86 loc) · 2.3 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "danidoble/laravel-package-skeleton",
"description": "A simple Laravel package skeleton development environment",
"type": "library",
"license": "MIT",
"keywords": [
"laravel",
"package",
"skeleton",
"danidoble"
],
"authors": [
{
"name": "Danidoble",
"email": "ddanidoble@gmail.com",
"role": "Developer",
"homepage": "https://danidoble.com"
}
],
"require": {
"php": "^8.1"
},
"require-dev": {
"laravel/prompts": "^0.1.21",
"laravel/pint": "^1.14",
"orchestra/testbench": "^8.21|^v9.0.0",
"pestphp/pest": "^2.34"
},
"autoload": {
"psr-4": {
"Danidoble\\LaravelPackageSkeleton\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Danidoble\\LaravelPackageSkeleton\\Tests\\": "tests/",
"Workbench\\App\\": "workbench/app/",
"Workbench\\Database\\Factories\\": "workbench/database/factories/",
"Workbench\\Database\\Seeders\\": "workbench/database/seeders/"
}
},
"extra": {
"laravel": {
"providers": [
"Danidoble\\LaravelPackageSkeleton\\Providers\\LaravelPackageSkeletonProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"preferred-install": "dist",
"optimize-autoloader": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"post-create-project-cmd": [
"composer configure"
],
"post-autoload-dump": [
"@clear",
"@prepare"
],
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"build": "@php vendor/bin/testbench workbench:build --ansi",
"serve": [
"Composer\\Config::disableProcessTimeout",
"@build",
"@php vendor/bin/testbench serve"
],
"lint": [
"@php vendor/bin/phpstan analyse"
],
"configure": [
"@php -r \"if(PHP_OS_FAMILY !== 'Windows' && file_exists('configure.php')){include 'configure.php';}\"",
"@php vendor/bin/pint",
"@php -r \"if (PHP_OS_FAMILY !== 'Windows' && file_exists('configure.php')) {unlink('configure.php');}\"",
"composer update",
"@php -r \"if(PHP_OS_FAMILY === 'Windows'){echo 'Please run php configure.php to complete process';}\""
]
}
}