Skip to content

Commit

Permalink
Frontend: Update package.json and remove unnecessary dependencies (#1639
Browse files Browse the repository at this point in the history
)
  • Loading branch information
spyshiv authored and deshraj committed Apr 9, 2018
1 parent 895a322 commit 62e7a19
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 29 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ENV/
fabfile/

# Frontend Files
package-lock.json
.sass-cache/
node_modules/
bower_components/
Expand Down
8 changes: 2 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ var gulp = require('gulp'),
imagemin = require('gulp-imagemin'),
rename = require('gulp-rename'),
concat = require('gulp-concat'),
notify = require('gulp-notify'),
cache = require('gulp-cache'),
livereload = require('gulp-livereload'),
del = require('del'),
connect = require('gulp-connect'),
Expand Down Expand Up @@ -149,16 +147,14 @@ gulp.task('js', function() {
.pipe(gulp_if(flags.production, uglify({ mangle: false })))
.pipe(gulp.dest('frontend/dist/js'));

// return merge(app, configs, controllers, directives, filters, services)
return merge(app, configs, controllers, directives, filters, services)
});

// minify and compress html files
gulp.task('html', function() {

var webViews = gulp.src('frontend/src/views/web/**/*.html')
return gulp.src('frontend/src/views/web/**/*.html')
.pipe(gulp_if(flags.production, htmlmin({ collapseWhitespace: true })))
.pipe(gulp.dest('frontend/dist/views/web'));
// return merge(webViews, webPartials, challengePartials, webErrors);
});


Expand Down
44 changes: 21 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,47 @@
"author": "",
"license": "ISC",
"devDependencies": {
"angular-mocks": "^1.6.1",
"chai": "^3.5.0",
"del": "^2.2.2",
"eslint": "^3.13.0",
"eslint-config-angular": "^0.2.0",
"eslint-plugin-angular": "^1.6.1",
"del": "^3.0.0",
"eslint": "^4.19.1",
"eslint-config-angular": "^0.5.0",
"eslint-plugin-angular": "^3.3.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-cache": "^0.4.5",
"gulp-autoprefixer": "^5.0.0",
"gulp-concat": "^2.6.0",
"gulp-connect": "^5.0.0",
"gulp-cssnano": "^2.1.2",
"gulp-debug": "^3.0.0",
"gulp-eslint": "^3.0.1",
"gulp-eslint": "^4.0.2",
"gulp-html-minifier": "^0.1.8",
"gulp-imagemin": "^3.0.3",
"gulp-karma": "0.0.5",
"gulp-imagemin": "^4.1.0",
"gulp-livereload": "^3.8.1",
"gulp-notify": "^2.2.0",
"gulp-prettyerror": "^1.1.1",
"gulp-rename": "^1.2.2",
"gulp-ruby-sass": "^2.1.0",
"gulp-uglify": "^2.0.0",
"karma": "^1.5.0",
"gulp-ruby-sass": "^3.0.0",
"gulp-uglify": "^3.0.0",
"karma": "^2.0.0",
"merge-stream": "^1.0.0",
"angular-mocks": "^1.6.1",
"chai": "^4.1.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.2",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sinon": "^1.0.5",
"merge-stream": "^1.0.0",
"mocha": "^3.2.0",
"sinon": "^1.17.7"
"mocha": "^5.0.5"
},
"dependencies": {
"connect-modrewrite": "^0.9.0",
"connect-modrewrite": "^0.10.2",
"fs": "0.0.1-security",
"gulp-config": "^0.3.0",
"gulp-if": "^2.0.2",
"gulp-inject": "^4.2.0",
"gulp-ng-config": "^1.3.1",
"gulp-path": "^3.0.3",
"gulp-path": "^4.0.0",
"lodash": "^4.16.6",
"run-sequence": "^1.2.2"
"run-sequence": "^2.2.1"
},
"repository": {
"type": "git",
"url": "https://github.com/Cloud-CV/EvalAI.git"
}
}

0 comments on commit 62e7a19

Please sign in to comment.