From 7eaf81713d4dfd8aabcbbbe28ae10b16698b0f13 Mon Sep 17 00:00:00 2001 From: Jan Kuri Date: Sun, 25 Dec 2016 06:51:35 +0100 Subject: [PATCH] chore: add gulpfile --- gulpfile.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gulpfile.js diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 00000000..1b8dd1c8 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,25 @@ +const gulp = require('gulp'); +const typedoc = require('gulp-typedoc'); + +gulp.task('docs', () => { + return gulp.src([ + 'index.ts', + '!node_modules/**/*']) + .pipe(typedoc({ + name: 'ng2-uploader docs', + mode: 'file', + out: 'docs', + ignoreCompilerErrors: true, + experimentalDecorators: true, + emitDecoratorMetadata: true, + target: 'ES5', + moduleResolution: 'node', + preserveConstEnums: true, + stripInternal: true, + suppressExcessPropertyErrors: true, + suppressImplicitAnyIndexErrors: true, + module: 'commonjs', + ignoreCompilerErrors: true, + noLib: true + })); +});