Showing
4 changed files
with
9 additions
and
10 deletions
... | @@ -23,4 +23,6 @@ yarn-debug.log* | ... | @@ -23,4 +23,6 @@ yarn-debug.log* |
23 | yarn-error.log* | 23 | yarn-error.log* |
24 | 24 | ||
25 | # use css framework | 25 | # use css framework |
26 | -web/src/index.css | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
26 | +web/src/index.css | ||
27 | + | ||
28 | +dist | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,9 +2,9 @@ | ... | @@ -2,9 +2,9 @@ |
2 | "compilerOptions": { | 2 | "compilerOptions": { |
3 | "target": "es5", | 3 | "target": "es5", |
4 | "module": "commonjs", | 4 | "module": "commonjs", |
5 | + "outDir": "./dist", | ||
5 | "declaration": true, | 6 | "declaration": true, |
6 | "declarationMap": true, | 7 | "declarationMap": true, |
7 | - "rootDir": ".", | ||
8 | "composite": true, | 8 | "composite": true, |
9 | "strict": true, | 9 | "strict": true, |
10 | "esModuleInterop": true | 10 | "esModuleInterop": true | ... | ... |
... | @@ -22,6 +22,7 @@ | ... | @@ -22,6 +22,7 @@ |
22 | }, | 22 | }, |
23 | "scripts": { | 23 | "scripts": { |
24 | "start": "nodemon index.ts", | 24 | "start": "nodemon index.ts", |
25 | - "test": "mocha -r ts-node/register --require mocha-steps ./**/*.test.ts" | 25 | + "test": "mocha -r ts-node/register --require mocha-steps ./**/*.test.ts", |
26 | + "build": "tsc -b -v" | ||
26 | } | 27 | } |
27 | } | 28 | } | ... | ... |
... | @@ -14,8 +14,8 @@ | ... | @@ -14,8 +14,8 @@ |
14 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ | 14 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
15 | // "sourceMap": true, /* Generates corresponding '.map' file. */ | 15 | // "sourceMap": true, /* Generates corresponding '.map' file. */ |
16 | // "outFile": "./", /* Concatenate and emit output to single file. */ | 16 | // "outFile": "./", /* Concatenate and emit output to single file. */ |
17 | - // "outDir": "./", /* Redirect output structure to the directory. */ | 17 | + "outDir": "./dist" /* Redirect output structure to the directory. */, |
18 | - // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ | 18 | + "rootDir": "../" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */, |
19 | // "composite": true, /* Enable project compilation */ | 19 | // "composite": true, /* Enable project compilation */ |
20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ | 20 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ |
21 | // "removeComments": true, /* Do not emit comments to output. */ | 21 | // "removeComments": true, /* Do not emit comments to output. */ |
... | @@ -68,9 +68,5 @@ | ... | @@ -68,9 +68,5 @@ |
68 | "skipLibCheck": true /* Skip type checking of declaration files. */, | 68 | "skipLibCheck": true /* Skip type checking of declaration files. */, |
69 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ | 69 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
70 | }, | 70 | }, |
71 | - "references": [ | 71 | + "include": ["../common/**/*"] |
72 | - { | ||
73 | - "path": "../common" | ||
74 | - } | ||
75 | - ] | ||
76 | } | 72 | } | ... | ... |
-
Please register or login to post a comment