1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

Revert "Added dist-firefox gulp task to add applications section to manifest"

This reverts commit d06744f739.
This commit is contained in:
Kyle Spearrin 2017-02-22 19:10:12 -05:00
parent d06744f739
commit 09e6fc1652
2 changed files with 2 additions and 18 deletions

View File

@ -10,8 +10,7 @@
browserify = require('browserify'), browserify = require('browserify'),
source = require('vinyl-source-stream'), source = require('vinyl-source-stream'),
googleWebFonts = require('gulp-google-webfonts'), googleWebFonts = require('gulp-google-webfonts'),
webpack = require('webpack-stream') webpack = require('webpack-stream');
jeditor = require("gulp-json-editor");
var paths = {}; var paths = {};
paths.dist = './dist/'; paths.dist = './dist/';
@ -205,20 +204,6 @@ gulp.task('dist', ['build'], function (cb) {
cb); cb);
}); });
gulp.task('dist-firefox', ['dist'], function (cb) {
gulp.src(paths.dist + 'manifest.json')
.pipe(jeditor(function (manifest) {
manifest.applications = {
gecko: {
id: "addon@bitwarden.com",
strict_min_version: "42.0"
}
};
return manifest;
}))
.pipe(gulp.dest(paths.dist));
});
gulp.task('webfonts', function () { gulp.task('webfonts', function () {
return gulp.src('./webfonts.list') return gulp.src('./webfonts.list')
.pipe(googleWebFonts({})) .pipe(googleWebFonts({}))

View File

@ -34,7 +34,6 @@
"gulp-google-webfonts": "0.0.14", "gulp-google-webfonts": "0.0.14",
"ng-infinite-scroll": "1.3.0", "ng-infinite-scroll": "1.3.0",
"node-forge": "0.7.0", "node-forge": "0.7.0",
"webpack-stream": "3.2.0", "webpack-stream": "3.2.0"
"gulp-json-editor": "2.2.1"
} }
} }