Newton's Programmatic Measurements
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    zkflow-task-browserifypublic

    ZKflow task browserify

    Browserify task in zkflow format

    Made by Zaklinacze Kodu

    Shields

    npm npm npm
    Travis Code Climate
    David David
    GitHub forks GitHub stars GitHub followers

    Installation

    npm install --save zkflow-task-browserify zkflow gulp

    Example

    ZKflow taks browserify is used in ZKflow for Angular

    Usage

    gulpfile.js

    require('zkflow')({
      js: {
        task: require('zkflow-task-browserify')
      }
    }, require('gulp'), mode, getOutputDir)

    mode

    Shared configuration object. Properties used

    {
      env: 'dev',                                 // 'prod', 'test'
      watch: true,                                // false
      angularMainModuleProdFallback: undefined    // this will be set to true if test or dev entries are not found
    }

    getOutputDir

    function that will return a base for output dir, for example

    function () {
      return 'dist/';
    }

    in this case js will be saved in dist/index.js file

    Default options

    {
      devEntries: 'src/dev/index.js',
      prodEntries: 'src/index.js',
      testEntries: 'src/test/index.js',
      uglify: undefined,                    // gulp-uglify options
      browserifyTransforms: []
    }

    install

    npm i zkflow-task-browserify

    Downloadsweekly downloads

    2

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar