diff options
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/tsconfig.json b/tsconfig.json index aee7acd..54d4a5e 100644 --- a/tsconfig.json +++ b/tsconfig.json | |||
@@ -1,5 +1,5 @@ | |||
1 | { | 1 | { |
2 | "extends": "./node_modules/adonis-preset-ts/tsconfig.json", | 2 | "extends": "@adonisjs/tsconfig/tsconfig.app.json", |
3 | "include": ["**/*"], | 3 | "include": ["**/*"], |
4 | "exclude": ["node_modules", "build", "recipes"], | 4 | "exclude": ["node_modules", "build", "recipes"], |
5 | "compilerOptions": { | 5 | "compilerOptions": { |
@@ -8,25 +8,21 @@ | |||
8 | "strict": true, | 8 | "strict": true, |
9 | "incremental": true, | 9 | "incremental": true, |
10 | "paths": { | 10 | "paths": { |
11 | "App/*": ["./app/*"], | 11 | "#controllers/*": ["./app/controllers/*.js"], |
12 | "Config/*": ["./config/*"], | 12 | "#exceptions/*": ["./app/exceptions/*.js"], |
13 | "Contracts/*": ["./contracts/*"], | 13 | "#models/*": ["./app/models/*.js"], |
14 | "Database/*": ["./database/*"] | 14 | "#services/*": ["./app/services/*.js"], |
15 | "#listeners/*": ["./app/listeners/*.js"], | ||
16 | "#events/*": ["./app/events/*.js"], | ||
17 | "#middleware/*": ["./app/middleware/*.js"], | ||
18 | "#validators/*": ["./app/validators/*.js"], | ||
19 | "#start/*": ["./start/*.js"], | ||
20 | "#config/*": ["./config/*.js"], | ||
21 | "#app/*": ["./app/*.js"], | ||
22 | "#database/*": ["./database/*.js"], | ||
23 | "#types/*": ["./types/*.js"] | ||
15 | }, | 24 | }, |
16 | "types": [ | 25 | "types": ["fs-extra", "adonis5-jwt"], |
17 | "@adonisjs/core", | ||
18 | "@adonisjs/repl", | ||
19 | "@japa/preset-adonis/build/adonis-typings", | ||
20 | "@adonisjs/view", | ||
21 | "@adonisjs/lucid", | ||
22 | "@adonisjs/auth", | ||
23 | "@adonisjs/shield", | ||
24 | "@adonisjs/session", | ||
25 | "@adonisjs/mail", | ||
26 | "fs-extra", | ||
27 | "adonis5-jwt" | ||
28 | ], | ||
29 | "sourceMap": true, | ||
30 | "noFallthroughCasesInSwitch": true, | 26 | "noFallthroughCasesInSwitch": true, |
31 | "resolveJsonModule": true, | 27 | "resolveJsonModule": true, |
32 | "forceConsistentCasingInFileNames": true, | 28 | "forceConsistentCasingInFileNames": true, |