mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 12:46:36 +08:00
18 lines
368 B
TypeScript
18 lines
368 B
TypeScript
/// <reference path="./gulp-tsd.d.ts" />
|
|
/// <reference path="../gulp/gulp.d.ts" />
|
|
|
|
import gulp = require("gulp");
|
|
import tsd = require("gulp-tsd");
|
|
|
|
gulp.task("tsd", () => {
|
|
gulp.src("gulp_tsd.json")
|
|
.pipe(tsd());
|
|
});
|
|
|
|
gulp.task("tsd:options", (callback: any) => {
|
|
tsd({
|
|
command: "reinstall",
|
|
config: "tsd.json"
|
|
}, callback);
|
|
});
|