app.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. 'use strict'
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Providers
  5. |--------------------------------------------------------------------------
  6. |
  7. | Providers are building blocks for your Adonis app. Anytime you install
  8. | a new Adonis specific package, chances are you will register the
  9. | provider here.
  10. |
  11. */
  12. const providers = [
  13. '@adonisjs/framework/providers/AppProvider',
  14. '@adonisjs/framework/providers/ViewProvider',
  15. '@adonisjs/lucid/providers/LucidProvider',
  16. '@adonisjs/bodyparser/providers/BodyParserProvider',
  17. '@adonisjs/cors/providers/CorsProvider',
  18. '@adonisjs/shield/providers/ShieldProvider',
  19. '@adonisjs/session/providers/SessionProvider',
  20. '@adonisjs/auth/providers/AuthProvider',
  21. '@adonisjs/validator/providers/ValidatorProvider',
  22. '@adonisjs/mail/providers/MailProvider',
  23. '@adonisjs/antl/providers/AntlProvider',
  24. '../../../../../providers/EviewProvider'
  25. ]
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Ace Providers
  29. |--------------------------------------------------------------------------
  30. |
  31. | Ace providers are required only when running ace commands. For example
  32. | Providers for migrations, tests etc.
  33. |
  34. */
  35. const aceProviders = [
  36. '@adonisjs/lucid/providers/MigrationsProvider'
  37. ]
  38. /*
  39. |--------------------------------------------------------------------------
  40. | Aliases
  41. |--------------------------------------------------------------------------
  42. |
  43. | Aliases are short unique names for IoC container bindings. You are free
  44. | to create your own aliases.
  45. |
  46. | For example:
  47. | { Route: 'Adonis/Src/Route' }
  48. |
  49. */
  50. const aliases = {}
  51. /*
  52. |--------------------------------------------------------------------------
  53. | Commands
  54. |--------------------------------------------------------------------------
  55. |
  56. | Here you store ace commands for your package
  57. |
  58. */
  59. const commands = []
  60. module.exports = { providers, aceProviders, aliases, commands }