Skip to content

Commit

Permalink
Instructions for gulp 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jun 14, 2018
1 parent 9080ae7 commit ad4ac61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -24,12 +24,12 @@ Don't have an existing gulp project? Just want to experiment with no commitment
$ mkdir my-api-docs
$ cd my-api-docs
$ npm init --yes
$ npm install gulp --save-dev
$ npm install gulp@4 --save-dev
$ npm install gulp-node-slate --save-dev
$ cat > gulpfile.js << EOF
const gulp = require('gulp');
const slate = require('gulp-node-slate');
function generateApiDocs() { return gulp.src([]).pipe(slate()); }
function generateApiDocs() { return gulp.src('.').pipe(slate()); }
gulp.task('slate', generateApiDocs);
EOF
$ node node_modules/gulp/bin/gulp.js slate
Expand Down

0 comments on commit ad4ac61

Please sign in to comment.