Commit a7a2854d6f7b0b587fe277fd00180e4e157d7c01

Authored by Yarik
1 parent 62b56984

Composer road to success

Showing 1 changed file with 18 additions and 1 deletions   Show diff stats
@@ -19,9 +19,23 @@ @@ -19,9 +19,23 @@
19 "require": { 19 "require": {
20 "php": ">=7.0", 20 "php": ">=7.0",
21 "artweb/artbox-core": "@dev", 21 "artweb/artbox-core": "@dev",
22 - "artweb/artbox-gentelella": "@dev" 22 + "artweb/artbox-gentelella": "@dev",
  23 + "yiisoft/yii2": "~2.0",
  24 + "yiisoft/yii2-bootstrap": "~2.0",
  25 + "yiisoft/yii2-swiftmailer": "~2.0",
  26 + "noam148/yii2-image-manager": "~1.0",
  27 + "yiister/yii2-gentelella": "~1.0",
  28 + "yii2tech/filedb": "~1.0",
  29 + "hiqdev/yii2-asset-pnotify": "~2.0",
  30 + "hiqdev/yii2-asset-icheck": "~1.0",
  31 + "google/apiclient": "^2.0"
23 }, 32 },
24 "require-dev": { 33 "require-dev": {
  34 + "yiisoft/yii2-debug": "~2.0.0",
  35 + "yiisoft/yii2-gii": "~2.0.0",
  36 + "yiisoft/yii2-faker": "~2.0.0",
  37 + "codeception/base": "^2.2.3",
  38 + "codeception/verify": "~0.3.1"
25 }, 39 },
26 "config": { 40 "config": {
27 "process-timeout": 1800 41 "process-timeout": 1800
@@ -32,6 +46,9 @@ @@ -32,6 +46,9 @@
32 "bower-asset-library": "vendor/bower" 46 "bower-asset-library": "vendor/bower"
33 } 47 }
34 }, 48 },
  49 + "scripts": {
  50 + "post-install-cmd": "php init --env=Development --overwrite=All --dbinit --dbtype=postgresql --dbname=artbox_basic --username=postgres --password=postgres --migrationPath=artweb/artbox-core/migrations --migrate=yes --defaultuser --checkdb"
  51 + },
35 "repositories": [ 52 "repositories": [
36 { 53 {
37 "type": "vcs", 54 "type": "vcs",