mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
58 lines
1.5 KiB
JavaScript
58 lines
1.5 KiB
JavaScript
|
|
'use strict'
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Providers
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Providers are building blocks for your Adonis app. Anytime you install
|
||
|
|
| a new Adonis specific package, chances are you will register the
|
||
|
|
| provider here.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
const providers = [
|
||
|
|
'@adonisjs/framework/providers/AppProvider',
|
||
|
|
'@adonisjs/bodyparser/providers/BodyParserProvider',
|
||
|
|
'@adonisjs/cors/providers/CorsProvider',
|
||
|
|
'lucid-mongo/providers/LucidMongoProvider'
|
||
|
|
]
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Ace Providers
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Ace providers are required only when running ace commands. For example
|
||
|
|
| Providers for migrations, tests etc.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
const aceProviders = [
|
||
|
|
'lucid-mongo/providers/MigrationsProvider'
|
||
|
|
]
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Aliases
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Aliases are short unique names for IoC container bindings. You are free
|
||
|
|
| to create your own aliases.
|
||
|
|
|
|
||
|
|
| For example:
|
||
|
|
| { Route: 'Adonis/Src/Route' }
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
const aliases = {}
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Commands
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Here you store ace commands for your package
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
const commands = []
|
||
|
|
|
||
|
|
module.exports = { providers, aceProviders, aliases, commands }
|