grunt-ccjs
grunt plugin for ccjs
Last updated 6 years ago by zf .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-ccjs 
SYNC missed versions from official npm registry.

grunt-ccjs

grunt plugin for ccjs

Getting Started

This plugin requires Grunt ~0.4.4

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-ccjs --save-dev

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

grunt.loadNpmTasks('grunt-ccjs');

The "ccjs" task

grunt.initConfig({
  ccjs: {
    options: {
      root: 'path/to/assets/js',
      coffee: yes
    }
    files: {
      'path/to/result.js': 'source.js',
      'path/to/another-script.js': 'another-script.coffee'
    },
  },
});

Current Tags

  • 0.0.4                                ...           latest (6 years ago)

4 Versions

  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 4
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |