{"version":3,"sources":["jsdelivr-header.js","/npm/grunt-release@0.14.0/Gruntfile.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,OAAO,QAAU,SAAS,GACxB,aAEA,EAAM,WAAW,CAEf,MAAO,CACL,KAAM,8BAER,SAAU,CACR,MAAO,wBAET,QAAS,CACP,QAAS,CACP,MAAM,EACN,KAAM,eACN,UAAW,eACX,cAAe,wBAA0B,EAAM,SAAS,MAAM,cAAgB,KAC9E,cAAe,kBACf,KAAK,EACL,QAAQ,EACR,KAAK,EACL,MAAM,EACN,UAAU,EACV,KAAK,EACL,QAAQ,EACR,OAAQ,CACN,KAAM,wBACN,eAAgB,yBAItB,YAAa,CACX,QAAS,CACP,MAAM,EACN,KAAK,EACL,QAAQ,EACR,KAAK,EACL,MAAM,EACN,UAAU,EACV,KAAK,EACL,QAAQ,EACR,QAAQ,GAEV,QAAS,CACP,QAAS,CACP,KAAM,gCACN,UAAW,8BACX,gBAAiB,CAAC,6BAClB,cAAe,EAAM,SAAS,QAAQ,uBAAwB,CAAC,KAAM,CAAC,QAAW,YACjF,cAAe,EAAM,SAAS,QAAQ,kBAAmB,CAAC,KAAM,CAAC,QAAW,cAGhF,SAAU,CACR,KAAM,CAAC,SACP,QAAS,CACP,KAAM,uCAGV,MAAO,CACL,KAAM,CAAC,SACP,QAAS,CACP,KAAM,wCAGV,MAAO,CACL,KAAM,CAAC,SACP,QAAS,CACP,KAAM,wCAGV,MAAO,CACL,KAAM,CAAC,SACP,QAAS,CACP,KAAM,yCAIZ,MAAO,CACL,KAAM,CACJ,MAAO,CAAC,CACN,KAAM,+BACN,KAAM,iCACN,CACA,KAAM,2BACN,KAAM,6BACN,CACA,KAAM,6BACN,KAAM,+BACN,CACA,KAAM,2BACN,KAAM,sCACN,CACA,KAAM,+BACN,KAAM,uCACN,CACA,KAAM,+BACN,KAAM,uCACN,CACA,KAAM,+BACN,KAAM,4CAMd,EAAM,UAAU,SAChB,EAAM,aAAa,uBACnB,EAAM,aAAa,0BAEnB,EAAM,aAAa,OAAQ,CACzB,QACA,QACA,cACA,WACA,UAGF,EAAM,kBAAkB,QAAS,uBAAuB,WACtD,KAAK,MAAM,SAAQ,SAAS,GAC1B,EAAM,KAAK,KAAK,EAAE,KAAM,EAAE,KAC5B,GACF,IAEA,EAAM,kBAAkB,eAAe,WACrC,IAAI,GAAQ,KAAK,KAAK,MAAQ,IAAI,KAAK,KAEvC,EAAM,OAAO,IAAI,UAAW,CAAC,GAC7B,EAAM,OAAO,MAAM,CACjB,QAAS,EAAM,OAAO,KAAK,KAAK,QAGlC,EAAM,OAAO,MAAM,CACjB,QAAS,EAAM,OAAO,KAAK,KAAK,MAAM,KAAK,UAG7C,EAAM,KAAK,IAAI,WAAa,GAAQ,IAAM,GAC5C,GACF","file":"/npm/grunt-release@0.14.0/Gruntfile.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/grunt-release@0.14.0/Gruntfile.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","module.exports = function(grunt) {\n  'use strict';\n\n  grunt.initConfig({\n\n    clean: {\n      test: 'test/fixtures/_*.{json,md}'\n    },\n    nodeunit: {\n      tests: 'test/release_test.js'\n    },\n    release: {\n      options: {\n        bump: true,\n        file: 'package.json',\n        changelog: 'CHANGELOG.md',\n        changelogText: '### <%= version %> - ' + grunt.template.today('yyyy-mm-dd') + '\\n',\n        commitMessage: 'v<%= version %>',\n        add: true,\n        commit: true,\n        tag: true,\n        push: true,\n        pushTags: true,\n        npm: true,\n        npmtag: false,\n        github: {\n          repo: 'geddski/grunt-release',\n          accessTokenVar: 'GITHUB_ACCESS_TOKEN'\n        }\n      }\n    },\n    releaseTest: {\n      options: {\n        bump: true,\n        add: false,\n        commit: false,\n        tag: false,\n        push: false,\n        pushTags: false,\n        npm: false,\n        npmtag: false,\n        github: false\n      },\n      general: {\n        options: {\n          file: 'test/fixtures/_component.json',\n          changelog: 'test/fixtures/_CHANGELOG.md',\n          additionalFiles: ['test/fixtures/_bower.json'],\n          changelogText: grunt.template.process('### <%= version %>\\n', {data: {'version': '0.0.13'}}),\n          commitMessage: grunt.template.process('v<%= version %>', {data: {'version': '0.0.13'}})\n        }\n      },\n      absolute: {\n        args: ['1.2.3'],\n        options: {\n          file: 'test/fixtures/_bower-absolute.json'\n        }\n      },\n      patch: {\n        args: ['patch'],\n        options: {\n          file: 'test/fixtures/_component-patch.json'\n        }\n      },\n      minor: {\n        args: ['minor'],\n        options: {\n          file: 'test/fixtures/_component-minor.json'\n        }\n      },\n      major: {\n        args: ['major'],\n        options: {\n          file: 'test/fixtures/_component-major.json'\n        }\n      }\n    },\n    setup: {\n      test: {\n        files: [{\n          from: 'test/fixtures/component.json',\n          dest: 'test/fixtures/_component.json'\n        },{\n          from: 'test/fixtures/bower.json',\n          dest: 'test/fixtures/_bower.json'\n        },{\n          from: 'test/fixtures/CHANGELOG.md',\n          dest: 'test/fixtures/_CHANGELOG.md'\n        },{\n          from: 'test/fixtures/bower.json',\n          dest: 'test/fixtures/_bower-absolute.json'\n        },{\n          from: 'test/fixtures/component.json',\n          dest: 'test/fixtures/_component-patch.json'\n        },{\n          from: 'test/fixtures/component.json',\n          dest: 'test/fixtures/_component-minor.json'\n        },{\n          from: 'test/fixtures/component.json',\n          dest: 'test/fixtures/_component-major.json'\n        }]\n      }\n    }\n  });\n\n  grunt.loadTasks('tasks');\n  grunt.loadNpmTasks('grunt-contrib-clean');\n  grunt.loadNpmTasks('grunt-contrib-nodeunit');\n\n  grunt.registerTask('test', [\n    'clean',\n    'setup',\n    'releaseTest',\n    'nodeunit',\n    'clean'\n  ]);\n\n  grunt.registerMultiTask('setup', 'Setup test fixtures', function(){\n    this.files.forEach(function(f){\n      grunt.file.copy(f.from, f.dest);\n    });\n  });\n\n  grunt.registerMultiTask('releaseTest', function(){\n    var args = (this.data.args || []).join(':');\n\n    grunt.config.set('release', {});\n    grunt.config.merge({\n      release: grunt.config.data[this.name]\n    });\n\n    grunt.config.merge({\n      release: grunt.config.data[this.name][this.target]\n    });\n\n    grunt.task.run('release' + (args && ':' + args));\n  });\n};\n"]}