Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Prefer title over name
Browse files Browse the repository at this point in the history
  • Loading branch information
freaktechnik committed Apr 24, 2015
1 parent e2f2dbb commit 92627b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-webapp",
"description": "Generate webapp manifests with grunt",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://github.com/freaktechnik/grunt-webapp",
"author": {
"name": "Martin Giger",
Expand Down
2 changes: 1 addition & 1 deletion tasks/webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = function(grunt) {
return grunt.file.readJSON(filepath);
}).forEach(function(manifest) {
// Get info from package.json
manifest.name = pkg.name;
manifest.name = pkg.title || pkg.name;
manifest.version = pkg.version;
if("description" in pkg) {
manifest.description = pkg.description;
Expand Down

0 comments on commit 92627b2

Please sign in to comment.