Skip to content

Commit a820cd3

Browse files
update package
1 parent e4f068f commit a820cd3

File tree

3 files changed

+82
-3299
lines changed

3 files changed

+82
-3299
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "typescript-mean-models",
33
"version": "0.0.5",
44
"description": "The models of the Typescript MEAN Stack Boilerplate",
5-
"main": "dist/index.js",
6-
"typings": "src/index.d.ts",
5+
"main": "dist/api.js",
76
"files": [
87
"dist/",
8+
"src/index.d.ts",
99
"LICENSE"
1010
],
1111
"scripts": {
@@ -38,7 +38,7 @@
3838
"tsconfig": "^6.0.0"
3939
},
4040
"devDependencies": {
41-
"@angular/cli": "^1.0.1",
41+
"@types/node": "^7.0.14",
4242
"chai": "^3.5.0",
4343
"chai-http": "^3.0.0",
4444
"istanbul": "^0.4.0",

tsconfig.json

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"compilerOptions": {
33
"outDir": "dist",
4-
"experimentalDecorators": true,
5-
"emitDecoratorMetadata": true,
64
"target": "es6",
75
"lib": ["es6"],
8-
"types": ["reflect-metadata"],
6+
"types": ["reflect-metadata", "node"],
7+
"typeRoots": ["node_modules/@types"],
98
"module": "commonjs",
9+
"experimentalDecorators": true,
10+
"emitDecoratorMetadata": true,
1011
"declaration": true,
1112
"noImplicitAny": true,
1213
"strictNullChecks": true,
@@ -17,13 +18,11 @@
1718
"sourceMap": true,
1819
"inlineSources": true
1920
},
20-
"include": [
21+
"include": [
2122
"src/**/*",
2223
"typings/**/*"
2324
],
2425
"exclude": [
25-
"node_modules",
26-
"typings",
27-
"typings/index.d.ts"
26+
"node_modules"
2827
]
2928
}

0 commit comments

Comments
 (0)