diff options
| author | Zlatan Vasović <[email protected]> | 2014-02-06 11:37:39 +0100 |
|---|---|---|
| committer | Zlatan Vasović <[email protected]> | 2014-02-06 11:37:39 +0100 |
| commit | 96fd2dca020d6c43c5797cc29caec7bedb917d79 (patch) | |
| tree | 68d3dfe371b683997523663ce97b6cd827f0fd1e | |
| parent | 7eb532262fbd1112215b5a547b9285794b5360ab (diff) | |
| download | bootstrap-96fd2dca020d6c43c5797cc29caec7bedb917d79.tar.xz bootstrap-96fd2dca020d6c43c5797cc29caec7bedb917d79.zip | |
Use license object instead of licenses array
| -rw-r--r-- | Gruntfile.js | 2 | ||||
| -rw-r--r-- | package.json | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index acef4100a..8fa1bbe7d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -30,7 +30,7 @@ module.exports = function (grunt) { banner: '/*!\n' + ' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' + ' * Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + - ' * Licensed under <%= _.pluck(pkg.licenses, "type") %> (<%= _.pluck(pkg.licenses, "url") %>)\n' + + ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' + ' */\n', jqueryCheck: 'if (typeof jQuery === \'undefined\') { throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery\') }\n\n', diff --git a/package.json b/package.json index b93ae15ba..8e6c43494 100644 --- a/package.json +++ b/package.json @@ -20,12 +20,10 @@ "bugs": { "url": "https://github.com/twbs/bootstrap/issues" }, - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/twbs/bootstrap/blob/master/LICENSE" - } - ], + "license": { + "type": "MIT", + "url": "https://github.com/twbs/bootstrap/blob/master/LICENSE" + }, "devDependencies": { "browserstack-runner": "~0.1.0", "btoa": "~1.1.1", |
