Sha256: 13c15729a1cb97e7d63fcb6977c088615c46ba5fbd3c5655423eeb83d50379c6

Contents?: true

Size: 1.1 KB

Versions: 37

Compression:

Stored size: 1.1 KB

Contents

/*global config:true, task:true*/
config.init({
  pkg: '<json:package.json>',
  meta: {
    title: 'JavaScript Sync/Async forEach',
    license: ['MIT'],
    copyright: 'Copyright (c) 2012 "Cowboy" Ben Alman',
    banner: '/* {{meta.title}} - v{{pkg.version}} - {{today "m/d/yyyy"}}\n' +
            ' * {{pkg.homepage}}\n' +
            ' * {{{meta.copyright}}}; Licensed {{join meta.license}} */'
  },
  concat: {
    'dist/ba-foreach.js': ['<banner>', '<file_strip_banner:lib/foreach.js>']
  },
  min: {
    'dist/ba-foreach.min.js': ['<banner>', 'dist/ba-foreach.js']
  },
  test: {
    files: ['test/**/*.js']
  },
  lint: {
    files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
  },
  watch: {
    files: '<config:lint.files>',
    tasks: 'lint:files test:files'
  },
  jshint: {
    options: {
      curly: true,
      eqeqeq: true,
      immed: true,
      latedef: true,
      newcap: true,
      noarg: true,
      sub: true,
      undef: true,
      eqnull: true
    },
    globals: {
      exports: true
    }
  },
  uglify: {}
});

// Default task.
task.registerTask('default', 'lint:files test:files concat min');

Version data entries

37 entries across 36 versions & 15 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/async-foreach/grunt.js
disco_app-0.18.0 test/dummy/node_modules/async-foreach/grunt.js
disco_app-0.18.2 test/dummy/node_modules/async-foreach/grunt.js
tang-0.2.1 spec/tang_app/node_modules/async-foreach/grunt.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/async-foreach/grunt.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/async-foreach/grunt.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/async-foreach/grunt.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/async-foreach/grunt.js
tang-0.2.0 spec/tang_app/node_modules/async-foreach/grunt.js
tang-0.1.0 spec/tang_app/node_modules/async-foreach/grunt.js
tang-0.0.9 spec/tang_app/node_modules/async-foreach/grunt.js
enju_library-0.3.8 spec/dummy/node_modules/async-foreach/grunt.js
ilog-0.4.1 node_modules/async-foreach/grunt.js
ilog-0.4.0 node_modules/async-foreach/grunt.js
ilog-0.3.3 node_modules/async-foreach/grunt.js
jester-data-8.0.0 node_modules/async-foreach/grunt.js
ezii-os-5.2.1 node_modules/async-foreach/grunt.js
ezii-os-2.0.1 node_modules/async-foreach/grunt.js
ezii-os-1.1.0 node_modules/async-foreach/grunt.js
ezii-os-1.0.0 node_modules/async-foreach/grunt.js