Sha256: 4bc590a707ca90dbd3398b0ce483df0bbd75d9f607f516ef170f30fe382dfcf0

Contents?: true

Size: 1 KB

Versions: 10

Compression:

Stored size: 1 KB

Contents

module.exports = (grunt) ->

  grunt.loadNpmTasks 'joosy'

  grunt.initConfig      
    bower:
      install:
        options:
          copy: false
          verbose: true

    connect:
      server:
        options:
          port: 4000
          base: 'public'

    mince:
      code:
        include: ['source', 'components', 'vendor', 'node_modules/joosy/src']
        src: 'application.coffee'
        dest: 'public/assets/application.js'
      styles:
        include: ['stylesheets', 'public']
        src: 'application.styl'
        dest: 'public/assets/application.css'
        configure: (mincer) ->
          mincer.StylusEngine.registerConfigurator (stylus) ->
            stylus.use require('nib')()

    uglify:
      application:
        options:
          sourceMap: 'public/assets/application.js.map'
        files:
          'public/assets/application.js': 'public/assets/application.js'

    cssmin:
      application:
        files:
          'public/assets/application.css': 'public/assets/application.css'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
joosy-1.2.0.alpha.20 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.19 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.18 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.17 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.16 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.15 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.14 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.13 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.12 templates/application/standalone/Gruntfile.coffee
joosy-1.2.0.alpha.11 templates/application/standalone/Gruntfile.coffee