gulp-clientlibs-mirum

0.0.3 • Public • Published

gulp-clientlibs-mirum

Integrate AEM with a styleguide

Forked from gulp-clientlibify by mickleroy (https://www.npmjs.com/package/gulp-clientlibify)

Modified the package to fit well to my need.

For options that can be used can refer to version of mickleroy

This plugin is listed on the NPM registry here.

Getting Started

Install this plugin with this command:

npm install gulp-clientlibs-mirum --save-dev

Once the plugin has been installed, it may be enabled inside your Gulpfile with this line of JavaScript:

var clientlibs = require('gulp-clientlibs-mirum');

The "clientlibify" function

Overview

In your project's Gulpfile, add a task and pipe your assets to the clientlibs function.

gulp.task('clientlibs', function() {
        return gulp.src(assets/**/*)
                .pipe(clientlibs({
                    dest: 'dist',
                    assetsDirs: ['dist/clientlib-site/js','dist/clientlib-site/css','dist/clientlib-site/images','dist/clientlib-site/manifest'],
                    categories:['project/clientlibs'],
                    installPackage: false,
                    packageName: 'Tech-Release',
                    packageVersion: '1.0',
                    packageGroup: 'Code Package',
                    packageDescription: 'CRX package installed using the gulp-clientlibs-mirum plugin'
                }))
                .pipe(gulp.dest('dist'))
});

Clientlib Options

Go to https://www.npmjs.com/package/gulp-clientlibify to see what options available

Option jsDir and cssDir options are removed

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    4
  • 0.0.2
    3
  • 0.3.1
    3

Package Sidebar

Install

npm i gulp-clientlibs-mirum

Weekly Downloads

6

Version

0.0.3

License

MIT

Last publish

Collaborators

  • ertanto