h5o-chrome
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -37,3 +37,3 @@ { | ||
}, | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"author": { | ||
@@ -40,0 +40,0 @@ "name": "Dominykas Blyžė", |
@@ -37,3 +37,3 @@ { | ||
}, | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"author": { | ||
@@ -40,0 +40,0 @@ "name": "Dominykas Blyžė", |
@@ -44,2 +44,11 @@ module.exports = function (grunt) { | ||
} | ||
}, | ||
"gh-pages": { | ||
"options": { | ||
base: "dist", | ||
add: true, | ||
repo: "git@github.com:h5o/h5o.github.io.git", | ||
branch: "master" | ||
}, | ||
"src": "crx-updates.xml" | ||
} | ||
@@ -57,4 +66,5 @@ }); | ||
manifest["update_url"] = "https://h5o.github.io/crx-updates.xml"; | ||
manifest["permissions"].push("file://*"); | ||
grunt.file.write("dist/extension/manifest.json", JSON.stringify(manifest, null, " ")); | ||
manifest["permissions"].push("file://*/*"); | ||
manifest["content_scripts"][0]["matches"].push("file://*/*"); | ||
grunt.file.write("dist/extension-standalone/manifest.json", JSON.stringify(manifest, null, " ")); | ||
@@ -68,2 +78,9 @@ var shelljs = require("shelljs"); | ||
shelljs.mv("extension-standalone.crx", grunt.template.process("dist/outliner-v<%= pkg.version %>.crx")); | ||
grunt.file.write("dist/crx-updates.xml", grunt.template.process(grunt.file.read("./crx-updates.xml.ejs"), { | ||
data: { | ||
appId: "dopdihoblkcnhcniellcadnidfmnalmn", | ||
version: manifest.version, | ||
downloadLink: "https://github.com/h5o/h5o-chrome/releases/download/" + manifest.version + "/outliner-v" + manifest.version + ".crx" | ||
} | ||
})); | ||
}); | ||
@@ -70,0 +87,0 @@ |
{ | ||
"name": "h5o-chrome", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Extension for Google Chrome / Chromium to generate a navigable page outline based on HTML5 outlining algorithm", | ||
"scripts": { | ||
"prepublish": "node ./node_modules/grunt-cli/bin/grunt", | ||
"test": "ls dist/*.crx" | ||
"test": "ls dist/*.crx && cat dist/crx-updates.xml" | ||
}, | ||
@@ -39,2 +39,3 @@ "repository": { | ||
"grunt-contrib-watch": "0.6.x", | ||
"grunt-gh-pages": "0.10.x", | ||
"grunt-release": "0.11.x", | ||
@@ -41,0 +42,0 @@ "h5o": "0.10.x", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108491
43
408
13