New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-cex-utils

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-cex-utils

utilities for building cex application

0.1.0
latest
npm
Version published
Weekly downloads
56
-6.67%
Maintainers
0
Weekly downloads
 
Created
Source

Gulp CEX Utils

This module is a utility tool for EveryMatrix's Component Explorer

It provides some basic functionality like fetching the list of components, main files and others

how to install

  • to install the module npm install --save gulp-cex-utils
  • if you use coffescript install coffee-loader npm install --save coffee-loader
  • if you use typescript install typescript-loader npm install --save typescript-loader
  • if you use es6 install traceur-loader (note: file extensions for es6 should be .es6.js) npm install --save traceur-loader

how to use:

to use the gulp module create a Gulpfile.js with the fallowing content:

var gulp = require('gulp');
var config = {
    paths: {
        src: 'app'
    }
};
require('gulp-cex-utils').loadGulp(gulp, config);

default configuration


var defaultSettings = {
    paths:{
        tmp: '.tmp',
        dist: 'dist',
        src: 'src',
        scripts: 'scripts',
        styles: 'styles',
        images: 'img',
        test: 'tests',
        views: 'views',
        assets:[
            'src/{,**/}*.*',
            '!src/{,**/}*.{css,js,coffee,html,htm,scss,map,json,md,log,d.ts,xml}',
            '!src/bower_components/**/*.*'
        ],
    },
    fileNames:{
        stylesIndex: 'main.scss',
        scriptsIndex: 'app.coffee',
    },
    webPackConfig: {
        module: {
            loaders: [
                { test: /\.coffee$/, loader: "coffee-loader" },
                { test: /\.ts$/, loader: "typescript" },
                { test: /\.es6\.js$/, loader: 'traceur?sourceMaps' }
            ]
        },
        devtool: '#inline-source-map',
        resolve: {
            extensions: ["", ".web.coffee", ".web.js", ".coffee", ".js", '.ts']
        },
        plugins: [
            new webpack.ResolverPlugin([
                new webpack.ResolverPlugin.ModuleAliasPlugin(cexComponentsJson)
            ]),
            new ngAnnotatePlugin({
                add: true
            })
        ]
    }
}

Keywords

cexUtils

FAQs

Package last updated on 11 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts