.adonisrc.json
AdonisJS configuration file
| Type | object |
|---|---|
| File match |
.adonisrc.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/adonisrc-json/latest.json |
| Source | https://raw.githubusercontent.com/adonisjs/application/master/adonisrc.schema.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
typescript
boolean
required
Is project written in Typescript or not
providers
string[]
required
uniqueItems=true
exceptionHandlerNamespace
string
Http server exception handler namespace
assetsDriver
string
The driver to use for assets bundling
preloads
string | object[]
uniqueItems=true
metaFiles
string | object[]
commands
string[]
aceProviders
string[]
uniqueItems=true
testProviders
string[]
uniqueItems=true
directories
Record<string, string>
12 nested properties
config
string
public
string
contracts
string
providers
string
database
string
migrations
string
seeds
string
resources
string
views
string
start
string
tmp
string
tests
string
commandsAliases
object
aliases
object
namespaces
Record<string, string>
7 nested properties
models
string
exceptions
string
middleware
string
httpControllers
string
eventListeners
string
redisListeners
string
validators
string
tests
object
3 nested properties
suites
object[]
required
timeout
number
forceExit
boolean