0.0.2 • Published 8 years ago

qing-build v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

qing-build

General build scripts for all qing module.

Installation

Install via npm:

npm install --save-dev qing-module

Usage

Initialize build configuration in your gulpfile.coffee:

gulp = require 'gulp'
build = require 'qing-build'
pkg = require './package.json'

build
  gulp: gulp
  name: pkg.name
  githubOwner: 'mycolorway'
  version: pkg.version
  homepage: pkg.homepage
  umd:
    dependencies:
      cjs: Object.keys(pkg.dependencies)
      global: ['jQuery', 'QingModule']
      params: ['$', 'QingModule']
  karma:
    dependencies: [
      'node_modules/jquery/dist/jquery.js'
      'node_modules/qing-module/dist/qing-module.js'
    ]

qing-build will register four gulp tasks for you: default, compile, test and publish.