mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
feat: build api doc after prod build
This commit is contained in:
parent
26b718ba1f
commit
83850d7a0c
2 changed files with 8 additions and 3 deletions
|
|
@ -81,6 +81,7 @@
|
|||
"push-notify": "^1.1.1",
|
||||
"q": "^1.4.1",
|
||||
"request": "~2.44.0",
|
||||
"run-sequence": "^1.1.4",
|
||||
"s3-upload-stream": "^1.0.6",
|
||||
"serve-favicon": "^2.3.0",
|
||||
"stripe": "^4.2.0",
|
||||
|
|
@ -149,7 +150,6 @@
|
|||
"protractor": "^3.1.1",
|
||||
"rewire": "^2.3.3",
|
||||
"rimraf": "^2.4.3",
|
||||
"run-sequence": "^1.1.4",
|
||||
"shelljs": "^0.5.3",
|
||||
"sinon": "^1.17.2",
|
||||
"sinon-chai": "^2.8.0",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import gulp from 'gulp';
|
||||
import runSequence from 'run-sequence';
|
||||
import babel from 'gulp-babel';
|
||||
require('gulp-grunt')(gulp);
|
||||
|
||||
|
|
@ -32,6 +33,10 @@ gulp.task('build:dev:watch', ['build:dev'], () => {
|
|||
gulp.watch(['website/public/**/*.styl', 'common/script/*']);
|
||||
});
|
||||
|
||||
gulp.task('build:prod', ['browserify', 'build:server', 'prepare:staticNewStuff', 'apidoc'], (done) => {
|
||||
gulp.start('grunt-build:prod', done);
|
||||
gulp.task('build:prod', ['browserify', 'build:server', 'prepare:staticNewStuff'], (done) => {
|
||||
runSequence(
|
||||
'grunt-build:prod',
|
||||
'apidoc',
|
||||
done
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue