Skip to content
This repository has been archived by the owner on Mar 23, 2018. It is now read-only.

Commit

Permalink
Merge pull request angular-ui#61 from jbroquist/minfix
Browse files Browse the repository at this point in the history
chore(ngmin): replace deprectated ngmin lib with ngannotate
  • Loading branch information
jbro-io committed Dec 3, 2014
2 parents b21dac6 + 0c78fb8 commit d0808d0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
7 changes: 6 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,13 @@ gulp.task('clean:dist', function () {
});

gulp.task('ngmin', function () {
var options = {
remove: true,
add: true,
single_quotes: true
};
return gulp.src('*.js', { cwd: './src' })
.pipe($.ngmin())
.pipe($.ngAnnotate(options))
.pipe(gulp.dest('./dist'));
});

Expand Down
25 changes: 10 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,27 @@
"version": "1.0.2",
"description": "This directive allows you to split !",
"devDependencies": {
"angular-ui-publisher": "~1.2",
"gulp": "^3",
"gulp-util": "^2",
"gulp-jshint": "^1",
"gulp-load-plugins": "^0",
"gulp-ng-annotate": "^0.4.0",
"gulp-plumber": "^0",
"gulp-rename": "^0",
"gulp-rimraf": "^0",

"gulp-ruby-sass": "^0",
"gulp-plumber": "^0",

"gulp-jshint": "^1",
"jshint-stylish": "^0",

"gulp-uglify": "^0",
"gulp-ngmin": "^0",

"gulp-util": "^2",
"jshint-stylish": "^0",
"karma": "^0",
"karma-jasmine": "^0.2",
"karma-chrome-launcher": "^0",
"karma-coverage": "^0",
"karma-firefox-launcher": "^0",
"karma-chrome-launcher": "^0",
"karma-jasmine": "^0.2",
"karma-phantomjs-launcher": "^0",

"node-karma-wrapper": "^0",
"lodash.assign": "^2",
"lodash.after": "^2",
"angular-ui-publisher": "~1.2"
"lodash.assign": "^2",
"node-karma-wrapper": "^0"
},
"main": "ui-layout.js",
"repository": {
Expand Down

0 comments on commit d0808d0

Please sign in to comment.