diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-09-02 06:01:45 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-09-02 06:01:45 +0800 |
commit | 168b4c5bc034367912f32bad6706cc91987d1085 (patch) | |
tree | 7502d5f6b194f62fb7fe5593a84564afeb07899d | |
parent | a76e198c9c23cfe93346ea7690925fe9d3be5843 (diff) | |
download | tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.tar tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.tar.gz tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.tar.bz2 tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.tar.lz tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.tar.xz tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.tar.zst tangerine-wallet-browser-168b4c5bc034367912f32bad6706cc91987d1085.zip |
Install deps. Fix chrome/firefox typo.
-rw-r--r-- | gulpfile.js | 8 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js index dac6cce3e..40ae6f203 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -16,6 +16,8 @@ var eslint = require('gulp-eslint') var fs = require('fs') var path = require('path') var manifest = require('./app/manifest.json') +var gulpif = require('gulp-if') +var replace = require('gulp-replace') // browser reload @@ -72,8 +74,8 @@ gulp.task('copy:root', copyTask({ pattern: '/*', })) -gulp.task('manifest:cleanup', function() { - return gulp.src('./dist/firefox/manifest.json') +gulp.task('manifest:chrome', function() { + return gulp.src('./dist/chrome/manifest.json') .pipe(jsoneditor(function(json) { delete json.applications return json @@ -81,7 +83,7 @@ gulp.task('manifest:cleanup', function() { .pipe(gulp.dest('./dist/chrome', { overwrite: true })) }) -gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'manifest:cleanup')) +gulp.task('copy', gulp.series(gulp.parallel('copy:locales','copy:images','copy:fonts','copy:reload','copy:root'), 'manifest:chrome')) gulp.task('copy:watch', function(){ gulp.watch(['./app/{_locales,images}/*', './app/scripts/chromereload.js', './app/*.{html,json}'], gulp.series('copy')) }) diff --git a/package.json b/package.json index fdf6c822e..63754f417 100644 --- a/package.json +++ b/package.json @@ -94,8 +94,10 @@ "del": "^2.2.0", "gulp": "github:gulpjs/gulp#4.0", "gulp-brfs": "^0.1.0", + "gulp-if": "^2.0.1", "gulp-json-editor": "^2.2.1", "gulp-livereload": "^3.8.1", + "gulp-replace": "^0.5.4", "gulp-sourcemaps": "^1.6.0", "gulp-util": "^3.0.7", "gulp-watch": "^4.3.5", |