Skip to content

Commit 4401e52

Browse files
update tsconfig
1 parent ab13d61 commit 4401e52

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "The models of the Typescript MEAN Stack Boilerplate",
55
"main": "index.js",
66
"scripts": {
7+
"build": "tsc",
78
"test": "echo \"Error: no test specified\" && exit 1"
89
},
910
"author": "Seokjin Seo <[email protected]>",

tsconfig.json

+11-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
22
"compilerOptions": {
3+
"outDir": "dist",
4+
"baseUrl": "src",
5+
"sourceMap": true,
6+
"declaration": false,
7+
"experimentalDecorators": true,
8+
"emitDecoratorMetadata": true,
39
"target": "es6",
410
"lib": ["es6"],
511
"types": ["reflect-metadata"],
6-
"module": "commonjs",
7-
"outDir": "dist",
8-
"experimentalDecorators": true,
9-
"emitDecoratorMetadata": true
12+
"module": "es6"
1013
},
11-
"include": [
12-
"src/**/*.ts"
13-
],
1414
"exclude": [
15-
"node_modules"
15+
"node_modules",
16+
"**/*.spec.ts",
17+
"**/*.test.ts"
1618
]
17-
}
19+
}

0 commit comments

Comments
 (0)