Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhanyumsft committed Aug 25, 2017
1 parent d814c99 commit c394228
Show file tree
Hide file tree
Showing 8 changed files with 1,555 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist/greet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function sayHello(name) {
return "Hello from " + name;
}
exports.sayHello = sayHello;
4 changes: 4 additions & 0 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var greet_1 = require("./greet");
console.log(greet_1.sayHello("TypeScript"));
9 changes: 9 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
var gulp = require("gulp");
var ts = require("gulp-typescript");
var tsProject = ts.createProject("tsconfig.json");

gulp.task("default", function () {
return tsProject.src()
.pipe(tsProject())
.js.pipe(gulp.dest("dist"));
});
Loading

0 comments on commit c394228

Please sign in to comment.