From 4845bb6d57de2790f4557691be3defb0f79897dd Mon Sep 17 00:00:00 2001 From: Christian Mayer Date: Tue, 15 Sep 2015 15:58:04 +0200 Subject: [PATCH] Last preparations for v0.9.0 deployment - Adapt license and repository description in package.json - Set version to v0.9.0 --- Gruntfile.js | 2 +- package.json | 8 +++----- src/shareloc.js | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index c7e00da..a64a87b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -51,7 +51,7 @@ module.exports = function(grunt) { uglify: { options: { banner: '// <%= pkg.name %> (v<%= pkg.version %>) \n' + - '// License <%= pkg.licenses[0].type %>, <%= pkg.licenses[0].url %> \n' + + '// License BSD, see <%= pkg.license %> \n' + '// Build on <%= grunt.template.today("yyyy-mm-dd") %> \n' }, build: { diff --git a/package.json b/package.json index 3ab0f53..9536b45 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,9 @@ { "name": "Shareloc", - "version": "0.9.0-dev", + "version": "0.9.0", "description": "Shareloc - the free and open map API based on OpenLayers 3.", - "licenses": [{ - "type": "BSD", - "url": "https://github.com/meggsimum/shareloc/blob/master/LICENSE" - }], + "repository": "https://github.com/meggsimum/shareloc.git", + "license": "https://github.com/meggsimum/shareloc/blob/master/LICENSE", "readme": "README.md", "devDependencies": { "grunt": "^0.4.5", diff --git a/src/shareloc.js b/src/shareloc.js index 57d18a0..a296750 100644 --- a/src/shareloc.js +++ b/src/shareloc.js @@ -9,5 +9,5 @@ * @type {String} * @default */ - Shareloc.VERSION = "0.9.0-dev"; + Shareloc.VERSION = "0.9.0"; })();