Migrate authorize{ actions, actionType, reducer} to TS & make factory service for interfaces #15

This commit is contained in:
Qolzam
2017-10-08 17:30:03 +07:00
parent f7c1a1ac00
commit 3b3899e7af
26 changed files with 652 additions and 218 deletions

View File

@@ -1,18 +1,25 @@
{
"compilerOptions": {
"module": "es6", // use ES2015 modules
"target": "es6", // compile to ES2015 (Babel will do the rest)
"module": "es6",
"target": "es6",
"types": ["reflect-metadata"],
"allowSyntheticDefaultImports": true, // see below
"baseUrl": "./app/", // enables you to import relative to this folder
"paths": {
"app/*" : ["*"]
"app/*" : ["*"],
"domain/*" : ["domain/*"],
"factories/*" : ["factories/*"],
"services/*" : ["services/*"],
"firebaseServices/*" : ["firebaseServices/*"]
},
"sourceMap": true, // make TypeScript generate sourcemaps
"outDir": "public", // output directory to build to (irrelevant because we use Webpack most of the time)
"jsx": "preserve", // enable JSX mode, but "preserve" tells TypeScript to not transform it (we'll use Babel)
"strict": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"allowJs": true
},