diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js index 189c642..1a483bc 100644 --- a/gulpfile.js +++ b/gulpfile.js | |||
@@ -4,7 +4,7 @@ | |||
4 | var fs = require('fs'); | 4 | var fs = require('fs'); |
5 | var cheerio = require('cheerio'); | 5 | var cheerio = require('cheerio'); |
6 | var rimraf = require('rimraf'); | 6 | var rimraf = require('rimraf'); |
7 | var mainBowerFiles = require('main-bower-files'); | 7 | var mainNPMFiles = require('npmfiles'); |
8 | 8 | ||
9 | var gulp = require('gulp'); | 9 | var gulp = require('gulp'); |
10 | var git = require('gulp-git'); | 10 | var git = require('gulp-git'); |
@@ -45,7 +45,7 @@ | |||
45 | }; | 45 | }; |
46 | 46 | ||
47 | // Contents of all our bower dependencies' main:[] fields. | 47 | // Contents of all our bower dependencies' main:[] fields. |
48 | var bowerFiles = mainBowerFiles(); | 48 | var bowerFiles = mainNPMFiles(); |
49 | 49 | ||
50 | // The current package.json file. | 50 | // The current package.json file. |
51 | var packageJson = require('./package.json'); | 51 | var packageJson = require('./package.json'); |
@@ -165,8 +165,8 @@ | |||
165 | .pipe(gulp.dest(dir.dist + '/js')); | 165 | .pipe(gulp.dest(dir.dist + '/js')); |
166 | 166 | ||
167 | // Reveal.js is a special snowflake. | 167 | // Reveal.js is a special snowflake. |
168 | var resolveReveal = gulp.src('./bower_components/reveal.js/*/**/*.*', | 168 | var resolveReveal = gulp.src('./node_modules/@bower_components/reveal.js/*/**/*.*', |
169 | {'base': './bower_components/reveal.js/'}) | 169 | {'base': './node_modules/@bower_components/reveal.js/'}) |
170 | .pipe(ignore(['**/test/**', '*.js'])) | 170 | .pipe(ignore(['**/test/**', '*.js'])) |
171 | .pipe(filter([ | 171 | .pipe(filter([ |
172 | '**/*.js', | 172 | '**/*.js', |