forked from ECLK/Nomination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
executable file
·28 lines (27 loc) · 875 Bytes
/
.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
{
"presets": [
"es2015",
"stage-0",
"stage-1",
"react"
],
"plugins": [
["module-alias",
[
{"src": "./src/manager/index", "expose": "Managers"},
{"src": "./src/model/index", "expose": "Models"},
{"src": "./src/service/index", "expose": "Service"},
{"src": "./src/errors/Errors", "expose": "Errors"},
{"src": "./src/errors/ErrorCodes", "expose": "ErrorCodes"},
{"src": "./src/errors/ErrorMessages", "expose": "ErrorMessages"},
{"src": "./src/routes/constants/HttpMethods", "expose": "HttpMethods"},
{"src": "./src/routes/constants/HttpPaths", "expose": "HttpPaths"},
{"src": "./src/routes/constants/HttpCodes", "expose": "HttpCodes"},
]
],
["flow-runtime", {
"assert": true,
"annotate": true
}]
]
}