build: avoid typing errors in TypeScript 2.1 and update gulp-typescript (#2456)

Related to #1998.
This commit is contained in:
Kristiyan Kostadinov
2017-01-04 19:36:28 +01:00
committed by Kara
parent 6cb65766d3
commit bdc48a8371
7 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"sourceMap": true,
"target": "es5",
"typeRoots": [
"../node_modules/@types/"
"../node_modules/@types"
],
"types": [
"jasmine"
+1 -1
View File
@@ -76,7 +76,7 @@
"gulp-shell": "^0.5.2",
"gulp-sourcemaps": "^1.6.0",
"gulp-transform": "^1.1.0",
"gulp-typescript": "^2.13.6",
"gulp-typescript": "^3.1.3",
"hammerjs": "^2.0.8",
"highlight.js": "^9.9.0",
"jasmine-core": "^2.4.1",
+1 -1
View File
@@ -15,7 +15,7 @@
"stripInternal": false,
"baseUrl": "",
"typeRoots": [
"../../node_modules/@types"
"../../node_modules/@types/!(node)"
],
"paths": {
"@angular/material": [
+1 -2
View File
@@ -15,8 +15,7 @@
"stripInternal": false,
"baseUrl": "",
"typeRoots": [
"../../node_modules/@types",
"../../node_modules"
"../../node_modules/@types/!(node)"
],
"paths": {
"@angular/material": [
+1 -1
View File
@@ -16,7 +16,7 @@
"inlineSources": true,
"stripInternal": false,
"typeRoots": [
"../../node_modules/@types"
"../../node_modules/@types/!(node)"
]
},
"exclude": [
+1 -1
View File
@@ -19,7 +19,7 @@
"paths": {
},
"typeRoots": [
"../../node_modules/@types"
"../../node_modules/@types/!(node)"
],
"types": [
"jasmine",
+1 -1
View File
@@ -54,7 +54,7 @@ export function tsBuildTask(tsConfigPath: string, tsConfigName = 'tsconfig.json'
let pipe = tsProject.src()
.pipe(gulpSourcemaps.init())
.pipe(gulpTs(tsProject));
.pipe(tsProject());
let dts = pipe.dts.pipe(gulp.dest(dest));
return gulpMerge([