Remove jshint and uglify from dev dependencies and from gulpfile.

This commit is contained in:
mrmrs 2014-03-12 23:23:29 -07:00
parent 81244ed4fe
commit e0e997bdd8
2 changed files with 3 additions and 17 deletions

View file

@ -8,11 +8,9 @@ var gulp = require('gulp'),
livereload = require('gulp-livereload'),
prefix = require('gulp-autoprefixer'),
minifyCSS = require('gulp-minify-css'),
uglify = require('gulp-uglify'),
sass = require('gulp-ruby-sass'),
imagemin = require('gulp-imagemin'),
svgmin = require('gulp-svgmin'),
jshint = require('gulp-jshint'),
csslint = require('gulp-csslint');
@ -52,16 +50,6 @@ gulp.task('minify-svg', function(){
});
// Task to run jshint and pipe output to terminal
gulp.task('jshint', function(){
gulp.src('./js/*.js')
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'));
});
// Use csslint without box-sizing or compatible vendor prefixes (these
// don't seem to be kept up to date on what to yell about)
@ -101,10 +89,10 @@ gulp.task('pre-process', function(){
*/
gulp.task('default', function(){
gulp.run('pre-process', 'csslint', 'jshint');
gulp.run('pre-process', 'csslint');
server.listen(35729, function (err) {
gulp.watch(['./sass/*.scss', './js/*.js'], function(event) {
gulp.run('pre-process', 'csslint', 'jshint');
gulp.run('pre-process', 'csslint');
});
});
});

View file

@ -1,6 +1,6 @@
{
"name": "tachyons",
"version": "0.0.0",
"version": "0.0.1",
"description": "Performance-first css framework built with sass.",
"main": "index.html",
"repository": {
@ -26,8 +26,6 @@
"gulp-util": "~2.2.12",
"gulp-watch": "~0.5.0",
"gulp-csslint": "~0.1.3",
"gulp-uglify": "~0.1.0",
"gulp-jshint": "~1.3.4",
"gulp-imagemin": "~0.1.4",
"jshint-stylish": "~0.1.5",
"gulp-svgmin": "~0.4.1",