forked from yii-starter-kit/yii2-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
executable file
·124 lines (124 loc) · 3.58 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
{
"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.1.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": "^6.0",
"alexantr/yii2-elfinder": "^1.3",
"trntv/sitemaped": "^0.1",
"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": "2.4.0",
"codeception/verify": "^0.3.1"
},
"autoload-dev": {
"psr-4": {
"tests\\": "tests/"
}
},
"suggest": {
"trntv/yii2-debug-xhprof": "dev-master@dev"
},
"config": {
"process-timeout": 1800,
"optimize-autoloader": 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"
]
}
}