aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-03-12 07:21:43 +0800
committerkumavis <aaron@kumavis.me>2016-03-12 07:21:43 +0800
commitb3d46e02b8ede633149c6c9277ea33e75a75db65 (patch)
treed5a090e080569c687fe4005ec88d57d075fe87e9 /gulpfile.js
parent4ac689c1e30d10d9999d27a7c502fff7c27a6263 (diff)
downloadtangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.tar
tangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.tar.gz
tangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.tar.bz2
tangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.tar.lz
tangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.tar.xz
tangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.tar.zst
tangerine-wallet-browser-b3d46e02b8ede633149c6c9277ea33e75a75db65.zip
build - use gulp, remove grunt
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/gulpfile.js b/gulpfile.js
index d420f4b53..0d72c3d41 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -15,7 +15,7 @@ var del = require('del')
gulp.task('dev:reload', function() {
livereload.listen({
port: 35729,
- // basePath: './gulp-dist/'
+ // basePath: './dist/'
})
})
@@ -24,20 +24,20 @@ gulp.task('dev:reload', function() {
gulp.task('copy:locales', copyTask({
source: './app/_locales/',
- destination: './gulp-dist/_locales',
+ destination: './dist/_locales',
}))
gulp.task('copy:images', copyTask({
source: './app/images/',
- destination: './gulp-dist/images',
+ destination: './dist/images',
}))
gulp.task('copy:reload', copyTask({
source: './app/scripts/',
- destination: './gulp-dist/scripts',
+ destination: './dist/scripts',
pattern: '/chromereload.js',
}))
gulp.task('copy:root', copyTask({
source: './app/',
- destination: './gulp-dist',
+ destination: './dist',
pattern: '/*',
}))
gulp.task('copy', gulp.parallel('copy:locales','copy:images','copy:reload','copy:root'))
@@ -64,7 +64,7 @@ gulp.task('build:js', gulp.parallel('build:js:inpage','build:js:contentscript',
gulp.task('clean', function clean() {
- return del(['./gulp-dist'])
+ return del(['./dist'])
})
@@ -123,7 +123,7 @@ function bundleTask(opts) {
.pipe(sourcemaps.init({loadMaps: true})) // loads map from browserify file
// Add transformation tasks to the pipeline here.
.pipe(sourcemaps.write('./')) // writes .map file
- .pipe(gulp.dest('./gulp-dist/scripts'))
+ .pipe(gulp.dest('./dist/scripts'))
.pipe(livereload())
)