-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.babelrc
34 lines (34 loc) · 1.33 KB
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"presets": ["@babel/preset-typescript", "@babel/preset-env"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
"@babel/plugin-transform-runtime",
[
"module-resolver",
{
"root": ["./src"],
"alias": {
"@src": "./src",
"@controllers": "./src/controllers",
"@services": "./src/service",
"@dao": "./src/dao",
"@modules": "./src/modules",
"@errors": "./src/utils/errors/errors",
"@properties": "./src/utils/properties",
"@mongoose": "./src/mongoose_models/index",
"@sequelize": "./src/models/index",
"@utils": "./src/utils",
"@libs": "./src/lib",
"@middleware": "./src/middleware",
"@configs": "./src/config",
"@request": "./src/controllers/definitions/request",
"@response": "./src/controllers/definitions/response",
"@dto": "./src/data/dto",
"@schedules": "./src/schedules"
}
}
]
]
}