-
Notifications
You must be signed in to change notification settings - Fork 643
/
composer.json
executable file
·130 lines (130 loc) · 3.78 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "yii2-starter-kit/yii2-starter-kit",
"description": "Yii2 Starter Kit Application Template",
"keywords": [
"yii2",
"framework",
"start",
"cms",
"application template",
"yii2 advanced"
],
"authors": [
{
"name": "Yevhen Terentiev",
"email": "[email protected]"
},
{
"name": "Victor Gonzalez",
"email": "[email protected]",
"homepage": "https://vgr.cl"
}
],
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yii2-starter-kit/yii2-starter-kit/issues?state=open",
"source": "https://github.com/yii2-starter-kit/yii2-starter-kit"
},
"require": {
"php": ">=7.4 || ^8.0",
"ext-intl": "*",
"ext-gd": "*",
"yiisoft/yii2": "^2.0.13",
"yiisoft/yii2-swiftmailer": "^2.0.0",
"yiisoft/yii2-authclient": "^2.0.0",
"yiisoft/yii2-bootstrap4": "^2.0",
"yiisoft/yii2-jui": "^2.0.0",
"yiisoft/yii2-debug": "^2.0.0",
"yii2-starter-kit/yii2-file-kit": "^2.1.0",
"asofter/yii2-imperavi-redactor": ">=0.0.3@dev",
"trntv/yii2-aceeditor": "^2.0",
"trntv/probe": "^1.0",
"trntv/yii2-glide": "^1.2",
"trntv/yii2-datetime-widget": "dev-master@dev",
"trntv/cheatsheet": "^0.1@dev",
"trntv/yii2-command-bus": "^3.0",
"intervention/image": "^2.1",
"vlucas/phpdotenv": "^5.3.0",
"almasaeed2010/adminlte": "^3.0",
"npm-asset/font-awesome": "^5.0",
"npm-asset/html5shiv": "^3.0",
"npm-asset/jquery-slimscroll": "^1.3",
"npm-asset/flot": "^3.2",
"symfony/process": "^4.0",
"guzzlehttp/guzzle": "^7.4",
"alexantr/yii2-elfinder": "^1.3",
"yii-starter-kit/sitemaped": "^2.0",
"yii2mod/yii2-swagger": "^1.1",
"rmrevin/yii2-fontawesome": "^3.4",
"kartik-v/yii2-widgets": "^3.4"
},
"require-dev": {
"yiisoft/yii2-gii": "^2.0.0",
"yiisoft/yii2-faker": "^2.0.0",
"codeception/codeception": "^5.0",
"codeception/verify": "^2.2",
"codeception/module-asserts": "^3.0",
"codeception/module-yii2": "^1.1",
"codeception/module-phpbrowser": "^3.0"
},
"autoload-dev": {
"psr-4": {
"tests\\": "tests/"
}
},
"suggest": {
"trntv/yii2-debug-xhprof": "dev-master@dev"
},
"config": {
"process-timeout": 1800,
"optimize-autoloader": true,
"allow-plugins": {
"yiisoft/yii2-composer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"archive": {
"exclude": ["docs"]
},
"scripts": {
"compile": [
"cp deploy/heroku/.env .env",
"YII_ENV=heroku php console/yii migrate/fresh --interactive=0",
"php console/yii app/setup --interactive=0"
],
"build:env": [
"cp .env.dist .env"
],
"build:app": [
"@composer install --prefer-dist -o",
"echo 'waiting for mysql' && sleep 10",
"php console/yii app/setup --interactive=0"
],
"docker:build": [
"@build:env",
"@docker:start",
"docker-compose exec -T console composer run-script build:app",
"docker-compose run -T --rm node npm install",
"docker-compose run -T --rm node npm run build"
],
"docker:start": [
"docker-compose up --build -d"
],
"docker:cleanup": [
"docker-compose rm -fsv"
],
"docker:tests": [
"@docker:start",
"docker-compose exec -T db mysql -uroot -proot -e \"CREATE DATABASE IF NOT EXISTS \\`yii2-starter-kit-test\\` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci\"",
"docker-compose exec -T console ./vendor/bin/codecept build",
"docker-compose exec -T console php tests/bin/yii app/setup --interactive=0",
"echo 'open a new terminal and run \"docker-compose exec -T console vendor/bin/codecept run\"' && docker-compose exec -T console php -S localhost:8080"
]
}
}