diff --git a/dist/chrome.crx b/dist/chrome.crx index c1cd3d6..afdd525 100644 Binary files a/dist/chrome.crx and b/dist/chrome.crx differ diff --git a/package.json b/package.json index 19ab47e..2863b0c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "github-branch-status", - "version": "0.1.0", + "name": "Github Branch Status", + "version": "0.1.1", "description": "Chrome extension to show a branch status in the home repo", "repository": { "type": "git", diff --git a/utils/generate-manifest.js b/utils/generate-manifest.js index 31662af..2a579d7 100644 --- a/utils/generate-manifest.js +++ b/utils/generate-manifest.js @@ -1,11 +1,13 @@ const fileSystem = require('fs-extra'); const path = require('path'); +const pjson = require('../package.json'); const manifest = require('../src/manifest.json'); -// generates the manifest file using the package.json informations -manifest.description = process.env.npm_package_description; -manifest.version = process.env.npm_package_version; +// generates the manifest file using the package.json information +manifest.name = pjson.name; +manifest.description = pjson.description; +manifest.version = pjson.version; fileSystem.writeFileSync( path.join(__dirname, '../build/manifest.json'),