Skip to content

Commit

Permalink
idk heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoitch committed Jan 28, 2015
1 parent 8cbfaab commit a7e39be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ gulp.task('watch', ['watch-js', 'watch-tests', 'watch-css']);
gulp.task('default', ['lint', 'build', 'test']);

// Deploy task
gulp.task('heroku:production', ['clean', 'build'], function() {
gulp.task('deploy', ['clean', 'build'], function() {
gulp.src(jsDistPath)
.pipe(uglify())
.pipe(gulp.dest(distDest));
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"scripts": {
"start": "node server/index.js",
"test": "gulp test"
"test": "gulp test",
"postinstall": "gulp deploy"
},
"keywords": [
"html",
Expand All @@ -24,9 +25,7 @@
"aws-sdk": "^2.1.7",
"busboy": "^0.2.9",
"embedly": "^1.0.2",
"express": "^4.11.1"
},
"devDependencies": {
"express": "^4.11.1",
"del": "^1.1.1",
"gulp": "^3.8.10",
"gulp-concat": "~2.1.7",
Expand Down

0 comments on commit a7e39be

Please sign in to comment.