Skip to content

Commit

Permalink
chore(project): upgrade dependencies, enforce format in travis (#138)
Browse files Browse the repository at this point in the history
chore(project): upgrade dependencies, enforce format in travis
  • Loading branch information
cnishina committed Nov 10, 2016
1 parent 232946b commit 039cbb6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ before_install:
- g++-4.8 --version

script:
- npm run check_format
- npm test
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ gulp.task('tsc', function(done) {
});

gulp.task('prepublish', function(done) {
runSequence('format', 'tsc', 'copy', done);
runSequence('tsc', 'copy', done);
});

gulp.task('default',['prepublish']);
gulp.task('build',['prepublish']);

gulp.task('test', ['build'], function(done) {
gulp.task('test', ['format', 'build'], function(done) {
var opt_arg = [];
opt_arg.push('node_modules/jasmine/bin/jasmine.js');
runSpawn(done, process.execPath, opt_arg);
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "10.2.7",
"description": "A selenium server and browser driver manager for your end to end tests.",
"scripts": {
"check_format": "gulp format:enforce",
"format": "gulp format",
"prepublish": "gulp prepublish",
"test": "gulp test"
},
Expand Down Expand Up @@ -34,7 +36,7 @@
"ini": "^1.3.4",
"minimist": "^1.2.0",
"q": "^1.4.1",
"request": "^2.69.0",
"request": "^2.78.0",
"rimraf": "^2.5.2",
"semver": "^5.3.0"
},
Expand All @@ -44,19 +46,19 @@
"@types/form-data": "^0.0.32",
"@types/glob": "^5.0.29",
"@types/ini": "^1.3.28",
"@types/jasmine": "^2.2.32",
"@types/jasmine": "^2.5.37",
"@types/minimatch": "^2.0.28",
"@types/minimist": "^1.1.28",
"@types/node": "^6.0.37",
"@types/node": "^6.0.46",
"@types/q": "^0.0.32",
"@types/request": "^0.0.32",
"@types/request": "^0.0.33",
"@types/rimraf": "^0.0.28",
"@types/semver": "^5.3.30",
"clang-format": "^1.0.35",
"gulp": "^3.9.1",
"gulp-clang-format": "^1.0.23",
"jasmine": "^2.4.1",
"run-sequence": "^1.1.5",
"typescript": "^2.0.0"
"typescript": "^2.1.1"
}
}
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"declaration": true,
"removeComments": false,
"noImplicitAny": true,
"outDir": "built/"
"outDir": "built/",
"types": [
"adm-zip", "chalk", "glob", "jasmine", "minimist",
"node", "q", "request", "rimraf", "semver"
]
},
"exclude": [
"built",
Expand Down

0 comments on commit 039cbb6

Please sign in to comment.