Skip to content

Commit

Permalink
1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzepinski committed Apr 30, 2015
1 parent 7cd6ebf commit 2c4a563
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 33 deletions.
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-debug-bar",
"version": "0.4.2",
"version": "1.0.0",
"author": "Maciej Rzepinski",
"description": "AngularJS Debug Bar",
"homepage": "https://github.com/mrzepinski/angular-debug-bar",
Expand All @@ -16,8 +16,8 @@
".jshintrc"
],
"devDependencies": {
"angular": "~1.3.13",
"angular-route": "~1.3.13"
"angular": "1.3.15",
"angular-route": "1.3.15"
},
"licenses": [
{
Expand All @@ -26,6 +26,6 @@
}
],
"resolutions": {
"angular": "1.3.13"
"angular": "1.3.15"
}
}
6 changes: 3 additions & 3 deletions dist/css/angular-debug-bar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
angular-debug-bar v0.4.2
angular-debug-bar v1.0.0
git://github.com/mrzepinski/angular-debug-bar.git
MIT License - Maciej Rzepinski
*/
Expand All @@ -19,7 +19,7 @@
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: 0.2em;
margin-right: .2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/
Expand All @@ -29,7 +29,7 @@
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: 0.2em;
margin-left: .2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */ }

Expand Down
2 changes: 1 addition & 1 deletion dist/css/angular-debug-bar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/angular-debug-bar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
angular-debug-bar v0.4.2
angular-debug-bar v1.0.0
git://github.com/mrzepinski/angular-debug-bar.git
MIT License - Maciej Rzepinski
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/js/angular-debug-bar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 9 additions & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';

var gulp = require('gulp'),
bump = require('gulp-bump'),
jshint = require('gulp-jshint'),
concat = require('gulp-concat-util'),
ngAnnotate = require('gulp-ng-annotate'),
Expand All @@ -11,8 +10,7 @@ var gulp = require('gulp'),
cssmin = require('gulp-cssmin'),
meta = require('./package.json');

var bumpFiles = ['./bower.json', './package.json'],
paths = {
var paths = {
output: {
js: 'dist/js',
css: 'dist/css',
Expand All @@ -30,19 +28,13 @@ var bumpFiles = ['./bower.json', './package.json'],
+ ' */\n\n'
};

gulp.task('bump', function () {
return gulp.src(bumpFiles)
.pipe(bump({type: 'minor'}))
.pipe(gulp.dest('./'));
});

gulp.task('lint', function () {
gulp.task('jshint', function () {
return gulp.src(paths.js)
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'));
});

gulp.task('js', ['lint'], function () {
gulp.task('js', ['jshint'], function () {
return gulp.src(paths.js)
.pipe(concat.header(description.top))
.pipe(gulp.dest(paths.output.js))
Expand All @@ -60,7 +52,12 @@ gulp.task('scss', function () {
});

gulp.task('css', ['scss'], function () {
return gulp.src(paths.output.css + '/' + meta.name + '.css')
return gulp.src([
paths.output.css,
'/',
meta.name,
'.css'
].join(''))
.pipe(cssmin())
.pipe(rename({suffix: '.min'}))
.pipe(gulp.dest(paths.output.css));
Expand Down
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-debug-bar",
"version": "0.4.2",
"version": "1.0.0",
"title": "AngularJS-Debug-Bar",
"description": "AngularJS Debug Bar",
"license": "MIT",
Expand All @@ -12,15 +12,14 @@
"url": "git://github.com/mrzepinski/angular-debug-bar.git"
},
"devDependencies": {
"gulp": "^3.8.11",
"gulp-bump": "^0.1.13",
"gulp-concat-util": "^0.5.1",
"gulp-cssmin": "^0.1.6",
"gulp-jshint": "^1.9.2",
"gulp-ng-annotate": "^0.5.2",
"gulp-rename": "^1.2.0",
"gulp-sass": "^1.3.2",
"gulp-uglify": "^1.1.0",
"jshint-stylish": "^1.0.0"
"gulp": "3.8.11",
"gulp-concat-util": "0.5.2",
"gulp-cssmin": "0.1.7",
"gulp-jshint": "1.10.0",
"gulp-ng-annotate": "0.5.2",
"gulp-rename": "1.2.2",
"gulp-sass": "1.3.3",
"gulp-uglify": "1.2.0",
"jshint-stylish": "1.0.1"
}
}

0 comments on commit 2c4a563

Please sign in to comment.