Skip to content

Commit

Permalink
Merge pull request #17 from horiuchi/update-libraries
Browse files Browse the repository at this point in the history
Update libraries
  • Loading branch information
horiuchi committed Mar 12, 2016
2 parents 4933d61 + ef6f8e0 commit 72e0d51
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ gulp.task('coveralls', ['exec-test'], function() {
});


gulp.task('clean', function(cb) {
del(paths.tsc.clean, cb);
gulp.task('clean', function() {
return del(paths.tsc.clean);
});

gulp.task('watch', function() {
Expand Down
3 changes: 3 additions & 0 deletions lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ function readSchemasFromFiles(callback: (err: any, schemas: dtsgenerator.model.I
}

function processGenerate(err: any, schemas: dtsgenerator.model.IJsonSchema[]): void {
if (err) {
throw err;
}
var result = dtsgenerator(schemas);
if (opts.out) {
mkdirp.sync(path.dirname(opts.out));
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,32 @@
"url": "https://github.com/horiuchi/dtsgenerator/issues"
},
"engines": {
"node": ">= 0.10.0"
"node": ">= 4.0.0"
},
"dependencies": {
"asyncblock": "^2.1.23",
"commander": "^2.5.0",
"glob": "^5.0.14",
"json-pointer": "^0.3.0",
"mkdirp": "^0.5.0"
"asyncblock": "^2.2.8",
"commander": "^2.9.0",
"glob": "^7.0.3",
"json-pointer": "^0.4.0",
"mkdirp": "^0.5.1"
},
"devDependencies": {
"coveralls": "^2.11.3",
"del": "^1.2.0",
"gulp": "^3.8.10",
"coveralls": "^2.11.8",
"del": "^2.2.0",
"gulp": "^3.9.1",
"gulp-coveralls": "^0.1.4",
"gulp-espower": "^0.10.0",
"gulp-istanbul": "^0.10.0",
"gulp-load-plugins": "^0.10.0",
"gulp-mocha": "^2.0.0",
"gulp-sourcemaps": "^1.2.8",
"gulp-tsd": "0.0.4",
"gulp-typescript": "^2.3.0",
"gulp-util": "^3.0.1",
"mocha": "^2.0.1",
"power-assert": "^0.11.0",
"run-sequence": "^1.0.2",
"source-map-support": "^0.3.2",
"typescript": "^1.3.0"
"gulp-espower": "^1.0.2",
"gulp-istanbul": "^0.10.3",
"gulp-load-plugins": "^1.2.0",
"gulp-mocha": "^2.2.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-tsd": "^0.1.1",
"gulp-typescript": "^2.12.1",
"gulp-util": "^3.0.7",
"mocha": "^2.4.5",
"power-assert": "^1.3.1",
"run-sequence": "^1.1.5",
"source-map-support": "^0.4.0",
"typescript": "^1.8.7"
}
}

0 comments on commit 72e0d51

Please sign in to comment.