mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
Revert "Added dist-firefox gulp task to add applications section to manifest"
This reverts commit d06744f739
.
This commit is contained in:
parent
d06744f739
commit
09e6fc1652
17
gulpfile.js
17
gulpfile.js
@ -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({}))
|
||||||
|
@ -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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user