composer.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name": "yidashi/yii2cmf",
  3. "description": "yii2内容管理框架",
  4. "keywords": ["yii2", "cmf", "yii2cmf"],
  5. "homepage": "http://www.51siyuan.cn/",
  6. "type": "project",
  7. "license": "BSD-3-Clause",
  8. "support": {
  9. "issues": "https://github.com/yidashi/yii2cmf/issues?state=open",
  10. "forum": "http://www.51siyuan.cn/suggest/",
  11. "wiki": "http://www.51siyuan.cn/wiki/",
  12. "irc": "irc://irc.freenode.net/yii",
  13. "source": "https://github.com/yidashi/yii2cmf"
  14. },
  15. "minimum-stability": "stable",
  16. "require": {
  17. "php": ">=5.4.0",
  18. "yiisoft/yii2": ">=2.0.13",
  19. "yiisoft/yii2-bootstrap": "*",
  20. "yiisoft/yii2-swiftmailer": "*",
  21. "yiisoft/yii2-authclient": "~2.1.0",
  22. "yiisoft/yii2-redis": "*",
  23. "yiisoft/yii2-imagine": "^2.0",
  24. "aferrandini/phpqrcode": "1.0.1",
  25. "mobiledetect/mobiledetectlib": "^2.8",
  26. "omnilight/yii2-scheduling": "*",
  27. "vlucas/phpdotenv": "^2.0",
  28. "vova07/yii2-imperavi-widget": "*",
  29. "2amigos/yii2-editable-widget": "0.1.*",
  30. "raulfraile/distill": "@stable",
  31. "fabpot/goutte": "^3.1",
  32. "kartik-v/yii2-widget-select2": "*",
  33. "kartik-v/yii2-widget-datetimepicker": "^1.4",
  34. "kartik-v/yii2-widget-datepicker": "^1.3",
  35. "hightman/xunsearch": "*@beta",
  36. "bower-asset/blueimp-file-upload" : "*",
  37. "bower-asset/editor.md": "*",
  38. "creocoder/yii2-flysystem": "*",
  39. "qiniu/php-sdk": "^7.1",
  40. "abei2017/yii2-wx": "^1.3",
  41. "slavkovrn/yii2-lightbox": "^1.0",
  42. "chenkby/yii2-region": "dev-master",
  43. "kartik-v/yii2-grid": "@dev",
  44. "kartik-v/yii2-editable": "@dev",
  45. "lvht/geohash": "^1.1",
  46. "light/yii2-layer": "*",
  47. "kosinix/grafika": "^2.0",
  48. "phpoffice/phpspreadsheet": "^1.8"
  49. },
  50. "require-dev": {
  51. "yiisoft/yii2-debug": "*",
  52. "yiisoft/yii2-gii": "*",
  53. "yiisoft/yii2-faker": "*"
  54. },
  55. "autoload": {
  56. "files": [
  57. "common/helpers/function.php"
  58. ]
  59. },
  60. "scripts": {
  61. "post-install-cmd": [
  62. "php -r \"file_exists('.env') || copy('.env.example', '.env');@chmod('.env', 0766);\"",
  63. "yii\\composer\\Installer::postCreateProject"
  64. ],
  65. "post-root-package-install" :[
  66. "php -r \"file_exists('.env') || copy('.env.example', '.env');@chmod('.env', 0766);\"",
  67. "yii\\composer\\Installer::postCreateProject"
  68. ]
  69. },
  70. "config": {
  71. "process-timeout": 1800,
  72. "fxp-asset": {
  73. "installer-paths": {
  74. "npm-asset-library": "vendor/npm",
  75. "bower-asset-library": "vendor/bower"
  76. }
  77. },
  78. "allow-plugins": {
  79. "yiisoft/yii2-composer": true
  80. }
  81. },
  82. "repositories": [
  83. {
  84. "type": "composer",
  85. "url": "https://asset-packagist.org"
  86. }
  87. ],
  88. "extra": {
  89. "yii\\composer\\Installer::postCreateProject": {
  90. "setPermission": [
  91. {
  92. "cache": "0777",
  93. "web/assets": "0777",
  94. "web/storage": "0777",
  95. "web/admin/assets": "0777",
  96. "api/runtime": "0777",
  97. "backend/runtime": "0777",
  98. "frontend/runtime": "0777",
  99. "web/api/assets": "0777",
  100. "wechat/runtime": "0777"
  101. }
  102. ]
  103. }
  104. }
  105. }