aym-gulp
aiyoumi front gulp task
Last updated 2 years ago by dotview .
ISC · Original npm · Tarball · package.json
$ cnpm install aym-gulp 
SYNC missed versions from official npm registry.

爱又米前端gulp公共任务

## 安装

$ anpm i aym-gulp --save

或者

$ yarn add aym-gulp

使用

var config = {
    evr: false,
    assets: {
        'js': './src/js/**/*.js',
        'html': './src/pages/**/*.html',
        'img': './src/images/**/*',
        'scss': './src/scss/**/*.scss',
        'css': './src/css/**/*.css'
    },
    options: {
        usejsmin: false,
        hasRjs: true
    },
    output: {
        remote: gulpconfig.remote,
        dist: {
            img: distPath + '/images',
            css: distPath + '/css',
            js: distPath + '/js',
            html: distPath + '/html'
        },
        oauthRemote:gulpconfig.oauthRemote,
        local: gulpconfig.local || './src/pages'
    },
    rjsConfigPath: path.join(__dirname + '/config/rjsConfig.js')
};

var task = require('aym-gulp')(config, gulp);

Current Tags

  • 1.0.4                                ...           latest (2 years ago)

1 Versions

  • 1.0.4                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 1
Last Month 7
Dependencies (55)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |