1 Star 0 Fork 34

Kimlv/TypeScript-Documents-Chinese

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gulpfile.js 516 Bytes
一键复制 编辑 原始数据 按行查看 历史
patrick.zhongsp 提交于 2015-05-06 20:55 . update gulpfile.js
var gulp = require('gulp'),
ts = require('gulp-typescript');
gulp.task('typescript', function() {
var tsResult = gulp.src('ts/**/*.ts')
.pipe(ts({
target: 'ES5',
declarationFiles: false,
noExternalResolve: true
}));
tsResult.dts.pipe(gulp.dest('dist/tsdefinitions'));
return tsResult.js.pipe(gulp.dest('dist/typescript'));
});
gulp.task('watch', function() {
gulp.watch(['ts/**/*.ts'], ['typescript']);
});
gulp.task('default', ['typescript', 'watch']);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/proxysoft/TypeScript-Handbook-zh.git
git@gitee.com:proxysoft/TypeScript-Handbook-zh.git
proxysoft
TypeScript-Handbook-zh
TypeScript-Documents-Chinese
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385