Skip to content

Commit

Permalink
Remove unused deps from extension.
Browse files Browse the repository at this point in the history
Fixes #110
  • Loading branch information
samccone committed Apr 5, 2016
1 parent fcdb24c commit afd2612
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
10 changes: 0 additions & 10 deletions extension/bower.json

This file was deleted.

18 changes: 1 addition & 17 deletions extension/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import gulpLoadPlugins from 'gulp-load-plugins';
import del from 'del';
import browserify from 'gulp-browserify';
import runSequence from 'run-sequence';
import {stream as wiredep} from 'wiredep';

var debug = require('gulp-debug');

Expand Down Expand Up @@ -128,20 +127,6 @@ gulp.task('watch', ['lint', 'babel', 'html'], () => {
'../gatherers/**/*.js',
'../metrics/**/*.js'
], ['babel', 'lint']);

gulp.watch('bower.json', ['wiredep']);
});

gulp.task('size', () => {
return gulp.src('dist/**/*').pipe($.size({title: 'build', gzip: true}));
});

gulp.task('wiredep', () => {
gulp.src('app/*.html')
.pipe(wiredep({
ignorePath: /^(\.\.\/)*\.\./
}))
.pipe(gulp.dest('app'));
});

gulp.task('package', function () {
Expand All @@ -154,8 +139,7 @@ gulp.task('package', function () {
gulp.task('build', (cb) => {
runSequence(
'lint', 'babel', 'chromeManifest',
['html', 'images', 'extras'],
'size', cb);
['html', 'images', 'extras'], cb);
});

gulp.task('default', ['clean'], cb => {
Expand Down
8 changes: 1 addition & 7 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"build": "gulp build"
},
"devDependencies": {
"babel-core": "^6.5.2",
"babel-preset-es2015": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"del": "^2.2.0",
"eslint-config-google": "^0.4.0",
Expand All @@ -29,14 +27,10 @@
"gulp-minify-css": "^1.2.3",
"gulp-minify-html": "^1.0.5",
"gulp-rollup": "^1.8.0",
"gulp-size": "^2.0.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-uglify": "^1.5.2",
"gulp-useref": "^3.0.6",
"gulp-zip": "^3.2.0",
"main-bower-files": "^2.11.1",
"rollup-plugin-babel": "^2.4.0",
"run-sequence": "^1.1.5",
"wiredep": "^3.0.0"
"run-sequence": "^1.1.5"
}
}

0 comments on commit afd2612

Please sign in to comment.