강동현

빌드를 위한 서버 tsconfig.json 수정

......@@ -23,4 +23,6 @@ yarn-debug.log*
yarn-error.log*
# use css framework
web/src/index.css
\ No newline at end of file
web/src/index.css
dist
\ No newline at end of file
......
......@@ -2,9 +2,9 @@
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"outDir": "./dist",
"declaration": true,
"declarationMap": true,
"rootDir": ".",
"composite": true,
"strict": true,
"esModuleInterop": true
......
......@@ -22,6 +22,7 @@
},
"scripts": {
"start": "nodemon index.ts",
"test": "mocha -r ts-node/register --require mocha-steps ./**/*.test.ts"
"test": "mocha -r ts-node/register --require mocha-steps ./**/*.test.ts",
"build": "tsc -b -v"
}
}
......
......@@ -14,8 +14,8 @@
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"outDir": "./dist" /* Redirect output structure to the directory. */,
"rootDir": "../" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
......@@ -68,9 +68,5 @@
"skipLibCheck": true /* Skip type checking of declaration files. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
},
"references": [
{
"path": "../common"
}
]
"include": ["../common/**/*"]
}
......