HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall_forms/buyercall/node_modules/karma-phantomjs-launcher/gruntfile.js
module.exports = function (grunt) {
  grunt.initConfig({
    pkgFile: 'package.json',
    'npm-contributors': {
      options: {
        commitMessage: 'chore: update contributors'
      }
    },
    bump: {
      options: {
        commitFiles: [
          'package.json',
          'CHANGELOG.md'
        ],
        commitMessage: 'chore: release v%VERSION%',
        pushTo: 'upstream'
      }
    },
    'auto-release': {
      options: {
        checkTravisBuild: false
      }
    },
    eslint: {
      target: ['index.js', 'gruntfile.js', 'karma.conf.js', 'test/*.js']
    },
    karma: {
      all: {
        configFile: 'karma.conf.js'
      }
    }
  })
  require('load-grunt-tasks')(grunt)
  grunt.registerTask('test', ['karma'])
  grunt.registerTask('default', ['eslint', 'test'])
  return grunt.registerTask('release', 'Bump the version and publish to NPM.', function (type) {
    return grunt.task.run(['npm-contributors', 'bump-only:' + (type || 'patch'), 'changelog', 'bump-commit', 'npm-publish'])
  })
}