No Description

gwillz f5bc2a3deb fixed missing deps 3 years ago
src baf9011e3c version 1.0.1, fixed default name, def path resolving 3 years ago
.eslintrc.json ace67a3a40 added eslinting 3 years ago
.gitignore 2fe2ced60d readme with config, usage examples 3 years ago addf0598d8 readme tweaks 3 years ago
package.json f5bc2a3deb fixed missing deps 3 years ago

Gulp Tern Condense

This is a plugin to create tern type-def index files


var condense = require('gulp-tern-condense')
var source   = require('vinyl-source-stream')
var buffer   = require('vinyl-buffer')

gulp.task('condense', function() {
        files: 'src/*',
        name: 'mylibrary', // this defaults to files[0]
        defs: ['browser'], // this already includes ecmascript
        plugins: ['es_modules'], // default es_modules
        options: {spans: true}, // arguments for condense (below)

Condense Options

  • spans: bool - include line number range for code scopes
  • server: alternate TernServer instance
  • sortOutput: bool - output sorting