Neighbour Problem Manager

    @types/gulp-modernizr
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    Installation

    npm install --save @types/gulp-modernizr

    Summary

    This package contains type definitions for gulp-modernizr (https://github.com/rejas/gulp-modernizr).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-modernizr.

    index.d.ts

    // Type definitions for gulp-modernizr 1.0
    // Project: https://github.com/rejas/gulp-modernizr
    // Definitions by: remisery <https://github.com/remisery>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    /// <reference types="node" />
    
    import stream = require('stream');
    
    declare function GulpModernizr(parames?: GulpModernizr.Params): stream.Transform;
    declare function GulpModernizr(file?: string, parames?: GulpModernizr.Params): stream.Transform;
    
    declare namespace GulpModernizr {
        interface Params {
            /**
             * Avoid unnecessary builds (see Caching section below)
             */
            cache?: boolean | undefined;
    
            /**
             * Path to the build you're using for development.
             */
            devFile?: string | false | undefined;
    
            /**
             * Path to save out the built file
             */
            dest?: string | false | undefined;
    
            /**
             * Based on default settings on http://modernizr.com/download/
             */
            options?: {
              classPrefix: string;
              enableJSClass: boolean;
              enableClasses: boolean;
            } | undefined;
    
            /**
             * By default, source is uglified before saving
             */
            uglify?: boolean | undefined;
    
            /**
             * Define any tests you want to explicitly include
             */
            tests?: string[] | undefined;
    
            /**
             * Useful for excluding any tests that this tool will match
             * e.g. you use .notification class for notification elements,
             * but don’t want the test for Notification API
             */
            excludeTests?: string[] | undefined;
    
            /**
             * By default, will crawl your project for references to Modernizr tests
             * Set to false to disable
             */
            crawl?: boolean | undefined;
    
            /**
             * Set to true to pass in buffers via the "files" parameter below
             */
            useBuffers?: boolean | undefined;
    
            /**
             * By default, this task will crawl all *.js, *.css, *.scss files.
             */
            files?: { src: string[] } | undefined;
    
            /**
             * Have custom Modernizr tests? Add them here.
             */
            customTests?: string[] | undefined;
        }
    }
    
    export = GulpModernizr;

    Additional Details

    • Last updated: Thu, 08 Jul 2021 14:22:31 GMT
    • Dependencies: @types/node
    • Global values: none

    Credits

    These definitions were written by remisery.

    Keywords

    none

    Install

    npm i @types/gulp-modernizr

    DownloadsWeekly Downloads

    58

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    7.19 kB

    Total Files

    4

    Last publish

    Collaborators

    • types