gulp-typescript-schema
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

gulp-typescript-schema

Overview

Gulp tasks for typescript-schema. Allows schema generation as a gulp task.

Usage

Install:

npm install gulp-typescript-schema

Basic Usage:

var gulp = require('gulp')
var generateSchema = require('gulp-typescript-schema').generateSchema
 
gulp.task('generateSchema', function(){
  gulp.src('lib/**/*.ts').pipe(generateSchema({
    path: './schema.json'
  })).pipe(gulp.dest('schemas'))
})

Package Sidebar

Install

npm i gulp-typescript-schema

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • christyharagan