Skip to content

Commit 79f12f9

Browse files
committed
removed typings
1 parent 5a130dd commit 79f12f9

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

gulpfile.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ const gulp = require("gulp"),
1313
tslint = require('gulp-tslint'),
1414
concat = require('gulp-concat'),
1515
runSequence = require('run-sequence'),
16-
nodemon = require('gulp-nodemon'),
17-
gulpTypings = require("gulp-typings");
16+
nodemon = require('gulp-nodemon');
1817

1918
/**
2019
* Remove build directory.
@@ -74,7 +73,7 @@ gulp.task("compile", ["tslint"], () => {
7473
* Copy all resources that are not TypeScript files into build directory. e.g. index.html, css, images
7574
*/
7675
gulp.task("clientResources", () => {
77-
return gulp.src(["client/**/*", "!**/*.ts", "!client/typings", "!client/typings/**", "!client/*.json"])
76+
return gulp.src(["client/**/*", "!**/*.ts", "!client/*.json"])
7877
.pipe(gulp.dest("dist/client"));
7978
});
8079

@@ -110,16 +109,6 @@ gulp.task("css", () => {
110109
.pipe(gulp.dest("dist/client/css"));
111110
});
112111

113-
114-
/**
115-
* Install typings for server and client.
116-
*/
117-
gulp.task("installTypings", function () {
118-
var stream = gulp.src(["./server/typings.json", "./client/typings.json"])
119-
.pipe(gulpTypings(null)); //will install all typingsfiles in pipeline.
120-
return stream; // by returning stream gulp can listen to events from the stream and knows when it is finished.
121-
});
122-
123112
/**
124113
* Start the express server with nodemon
125114
*/

0 commit comments

Comments
 (0)