composer.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. "fxp/composer-asset-plugin":"^1.2.0",
  19. "yiisoft/yii2": ">=2.0.9",
  20. "yiisoft/yii2-bootstrap": "*",
  21. "yiisoft/yii2-swiftmailer": "*",
  22. "yiisoft/yii2-authclient": "~2.1.0",
  23. "yiisoft/yii2-redis": "*",
  24. "yiisoft/yii2-imagine": "^2.0",
  25. "aferrandini/phpqrcode": "1.0.1",
  26. "mobiledetect/mobiledetectlib": "^2.8",
  27. "omnilight/yii2-scheduling": "*",
  28. "vlucas/phpdotenv": "^2.0",
  29. "vova07/yii2-imperavi-widget": "*",
  30. "2amigos/yii2-editable-widget": "0.1.*",
  31. "raulfraile/distill": "@stable",
  32. "fabpot/goutte": "^3.1",
  33. "kartik-v/yii2-widget-select2": "*",
  34. "kartik-v/yii2-widget-datetimepicker": "^1.4",
  35. "kartik-v/yii2-widget-datepicker": "^1.3",
  36. "hightman/xunsearch": "*@beta",
  37. "bower-asset/blueimp-file-upload" : "*",
  38. "bower-asset/editor.md": "*",
  39. "creocoder/yii2-flysystem": "*",
  40. "qiniu/php-sdk": "^7.1",
  41. "abei2017/yii2-wx": "^1.3",
  42. "slavkovrn/yii2-lightbox": "^1.0",
  43. "chenkby/yii2-region": "dev-master",
  44. "kartik-v/yii2-grid": "@dev",
  45. "kartik-v/yii2-editable": "@dev",
  46. "lvht/geohash": "^1.1",
  47. "light/yii2-layer": "*",
  48. "kosinix/grafika": "^2.0",
  49. "phpoffice/phpspreadsheet": "^1.8"
  50. },
  51. "require-dev": {
  52. "yiisoft/yii2-debug": "*",
  53. "yiisoft/yii2-gii": "*",
  54. "yiisoft/yii2-faker": "*"
  55. },
  56. "autoload": {
  57. "files": [
  58. "common/helpers/function.php"
  59. ]
  60. },
  61. "scripts": {
  62. "post-install-cmd": [
  63. "php -r \"file_exists('.env') || copy('.env.example', '.env');@chmod('.env', 0766);\"",
  64. "yii\\composer\\Installer::postCreateProject"
  65. ],
  66. "post-root-package-install" :[
  67. "php -r \"file_exists('.env') || copy('.env.example', '.env');@chmod('.env', 0766);\"",
  68. "yii\\composer\\Installer::postCreateProject"
  69. ]
  70. },
  71. "config": {
  72. "process-timeout": 1800,
  73. "fxp-asset": {
  74. "installer-paths": {
  75. "npm-asset-library": "vendor/npm",
  76. "bower-asset-library": "vendor/bower"
  77. }
  78. },
  79. "allow-plugins": {
  80. "yiisoft/yii2-composer": true,
  81. "fxp/composer-asset-plugin": true
  82. }
  83. },
  84. "extra": {
  85. "yii\\composer\\Installer::postCreateProject": {
  86. "setPermission": [
  87. {
  88. "cache": "0777",
  89. "web/assets": "0777",
  90. "web/storage": "0777",
  91. "web/admin/assets": "0777",
  92. "api/runtime": "0777",
  93. "backend/runtime": "0777",
  94. "frontend/runtime": "0777",
  95. "web/api/assets": "0777",
  96. "wechat/runtime": "0777"
  97. }
  98. ]
  99. }
  100. }
  101. }