Skip to content

Commit

Permalink
Run build sequentially
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Jun 5, 2015
1 parent a915c43 commit 79bfff0
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 31 deletions.
16 changes: 8 additions & 8 deletions dist/json-formatter.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jsonformatter
*
* Version: 0.2.7 - 2015-06-02T21:39:36.129Z
* Version: 0.2.7 - 2015-06-05T21:19:07.022Z
* License: MIT
*/

Expand All @@ -12,7 +12,7 @@
.json-formatter-row,
.json-formatter-row a,
.json-formatter-row a:hover {
color: #000000;
color: black;
text-decoration: none;
}
.json-formatter-row .json-formatter-row {
Expand All @@ -29,15 +29,15 @@
content: "[]";
}
.json-formatter-row .string {
color: #008000;
color: green;
white-space: pre;
word-wrap: break-word;
}
.json-formatter-row .number {
color: #0000ff;
color: blue;
}
.json-formatter-row .boolean {
color: #ff0000;
color: red;
}
.json-formatter-row .null {
color: #855a00;
Expand All @@ -53,11 +53,11 @@
}
.json-formatter-row .url {
text-decoration: underline;
color: #0000ff;
color: blue;
cursor: pointer;
}
.json-formatter-row .bracket {
color: #0000ff;
color: blue;
}
.json-formatter-row .key {
color: #00008b;
Expand Down Expand Up @@ -87,7 +87,7 @@
.json-formatter-dark.json-formatter-row,
.json-formatter-dark.json-formatter-row a,
.json-formatter-dark.json-formatter-row a:hover {
color: #ffffff;
color: white;
text-decoration: none;
}
.json-formatter-dark.json-formatter-row .json-formatter-row {
Expand Down
2 changes: 1 addition & 1 deletion dist/json-formatter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jsonformatter
*
* Version: 0.2.7 - 2015-06-02T21:39:36.121Z
* Version: 0.2.7 - 2015-06-05T21:19:07.015Z
* License: MIT
*/

Expand Down
4 changes: 2 additions & 2 deletions dist/json-formatter.min.css

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

7 changes: 7 additions & 0 deletions dist/json-formatter.min.js

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

41 changes: 22 additions & 19 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
var fs = require('fs');
var connect = require('gulp-connect');
var gulp = require('gulp');
var karma = require('karma').server;
var concat = require('gulp-concat');
var jshint = require('gulp-jshint');
var header = require('gulp-header');
var rename = require('gulp-rename');
var es = require('event-stream');
var del = require('del');
var uglify = require('gulp-uglify');
var minifyHtml = require('gulp-minify-html');
var minifyCSS = require('gulp-minify-css');
var fs = require('fs');
var connect = require('gulp-connect');
var gulp = require('gulp');
var karma = require('karma').server;
var concat = require('gulp-concat');
var jshint = require('gulp-jshint');
var header = require('gulp-header');
var rename = require('gulp-rename');
var es = require('event-stream');
var del = require('del');
var uglify = require('gulp-uglify');
var minifyHtml = require('gulp-minify-html');
var minifyCSS = require('gulp-minify-css');
var templateCache = require('gulp-angular-templatecache');
var gutil = require('gulp-util');
var plumber = require('gulp-plumber');
var open = require('gulp-open');
var less = require('gulp-less');
var order = require("gulp-order");
var gutil = require('gulp-util');
var plumber = require('gulp-plumber');
var open = require('gulp-open');
var less = require('gulp-less');
var order = require("gulp-order");
var runSequence = require('run-sequence');


var config = {
Expand Down Expand Up @@ -142,7 +143,9 @@ function handleError(err) {
this.emit('end');
};

gulp.task('build', ['clean', 'scripts', 'styles']);
gulp.task('build', function(cb) {
runSequence('clean', 'scripts', 'styles', cb);
});
gulp.task('serve', ['build', 'connect', 'watch', 'open']);
gulp.task('default', ['build', 'test']);
gulp.task('test', ['build', 'jshint-test', 'karma']);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.5",
"karma-mocha-reporter": "^1.0.2",
"mversion": "^1.10.0"
"mversion": "^1.10.0",
"run-sequence": "^1.1.0"
},
"readme": "# Bower Publishable Angular Directive Boilerplate\n\nThis is a simple AngularJS directive boilerplate to help you start your own AngularJS directive and publish it in Bower and NPM.\nThis readme file itself is a boilerplate.\n\n#### Using the boilerplate\nClone the project and install dependencies, then use Gulp to start the prject.\n```shell\ngit clone [email protected]:mohsen1/angular-directive-boilerplate.git my-directive\ncd my-directive\nnpm install\nbower install\ngulp serve\n```\n#### Install via NPM or bower\n\n```shell\nnpm install angular-directive-boilerplate\n```\n```shell\nbower install angular-directive-boilerplate\n```\n\n### License\nMIT\n",
"readmeFilename": "README.md",
Expand Down

0 comments on commit 79bfff0

Please sign in to comment.