mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[API] Remove gulp api task
This commit is contained in:
parent
0012ca48c1
commit
6a47df095b
15
gulpfile.js
15
gulpfile.js
@ -150,21 +150,6 @@ gulp.task('watch', function () {
|
||||
return gulp.watch(paths.scss, ['stylesheets', 'assets']);
|
||||
});
|
||||
|
||||
gulp.task('api', function () {
|
||||
var jsdoc2md = require('gulp-jsdoc-to-markdown');
|
||||
var concat = require('gulp-concat');
|
||||
var markdown = require('gulp-markdown');
|
||||
return gulp.src('src/**/*.js')
|
||||
.pipe(concat('api.md'))
|
||||
.pipe(jsdoc2md(require('./jsdoc.json')))
|
||||
.pipe(markdown())
|
||||
.pipe(gulp.dest(paths.dist));
|
||||
});
|
||||
|
||||
gulp.task('api-watch', function () {
|
||||
return gulp.watch('src/**/*.js', ['api']);
|
||||
});
|
||||
|
||||
gulp.task('serve', function () {
|
||||
console.log('Running development server with all defaults');
|
||||
var app = require('./app.js');
|
||||
|
@ -14,7 +14,6 @@
|
||||
"gulp": "^3.9.0",
|
||||
"gulp-concat": "^2.6.0",
|
||||
"gulp-jscs": "^3.0.2",
|
||||
"gulp-jsdoc-to-markdown": "^1.2.2",
|
||||
"gulp-jshint": "^2.0.0",
|
||||
"gulp-jshint-html-reporter": "^0.1.3",
|
||||
"gulp-rename": "^1.2.2",
|
||||
|
Loading…
Reference in New Issue
Block a user