×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dmitriy Lanets
Added: Jan 18, 2017 12:24 PM
Views: 14
Tags: composer
  1. {
  2.   "name": "catalogs/website",
  3.   "description": "catcar.info",
  4.   "license": "proprietary",
  5.   "authors": [
  6.     {
  7.       "name": "ello",
  8.       "email": "alex@tradesoft.ru"
  9.     }
  10.   ],
  11.   "require": {},
  12.   "require-dev": {
  13.     "catalogs/catalogs": "dev-master"
  14.   },
  15.   "repositories": [
  16.     {
  17.       "type": "git",
  18.       "url": "git@webdev.git:catalogs/catalogs.git"
  19.     }
  20.   ],
  21.   "config": {
  22.     "secure-http": false,
  23.     "cache-dir": ".composer-cache"
  24.   },
  25.   "scripts": {
  26.     "serve": "php robo.phar serve",
  27.     "post-install-cmd": [
  28.       "rm -R -f _mylib _syscss _sysimg _syslib",
  29.       "cp -r vendor/catalogs/catalogs/_mylib/. _mylib",
  30.       "cp -r vendor/catalogs/catalogs/_syscss/. _syscss",
  31.       "cp -r vendor/catalogs/catalogs/_sysimg/. _sysimg",
  32.       "cp -r vendor/catalogs/catalogs/_syslib/. _syslib",
  33.       "cp -r vendor/catalogs/catalogs/app/. app",
  34.       "cp -r vendor/catalogs/catalogs/app/config.test.php app/config.override.php"
  35.     ],
  36.     "post-update-cmd": [
  37.       "rm -R -f _mylib _syscss _sysimg _syslib",
  38.       "cp -r vendor/catalogs/catalogs/_mylib/. _mylib",
  39.       "cp -r vendor/catalogs/catalogs/_syscss/. _syscss",
  40.       "cp -r vendor/catalogs/catalogs/_sysimg/. _sysimg",
  41.       "cp -r vendor/catalogs/catalogs/_syslib/. _syslib",
  42.       "cp -r vendor/catalogs/catalogs/app/. app",
  43.       "cp -r vendor/catalogs/catalogs/app/config.test.php app/config.override.php"
  44.     ]
  45.   }
  46. }