diff --git a/Gulpfile.coffee b/Gulpfile.coffee index 18ab7cc..f875b26 100644 --- a/Gulpfile.coffee +++ b/Gulpfile.coffee @@ -4,7 +4,7 @@ tsify = require 'tsify' mochify = require 'mochify' coffeeify = require 'coffeeify' browserify = require 'browserify' -jade = require 'gulp-jade' +pug = require 'gulp-pug' less = require 'gulp-less' rename = require 'gulp-rename' uglify = require 'gulp-uglify' @@ -22,8 +22,8 @@ TYPEFILES = [ buildHtml = (locals) -> locals.pkg = pkg - gulp.src '*.jade' - .pipe jade locals: locals + gulp.src '*.pug' + .pipe pug locals: locals .pipe rename (file) -> file.extname = '.html' .pipe gulp.dest '.' @@ -82,7 +82,7 @@ gulp.task 'connect', -> gulp.task 'watch', -> gulp.watch ['*.ts', 'src/*.ts'], ['build:js'] gulp.watch '*.less', ['build:css'] - gulp.watch '*.jade', ['build:html'] + gulp.watch '*.pug', ['build:html'] return gulp.task 'mochify:phantom', (done) -> diff --git a/README.md b/README.md index 4326fa5..96e6f25 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ This project uses various new technologies for my JavaScript study. Here is the ### Static assets -* [Jade](http://jade-lang.com/) +* ~~[Jade](http://jade-lang.com/)~~ → Renamed to Pug * [LESS](http://less-ja.studiomohawk.com/) - [Pure.css](http://purecss.io/) diff --git a/index.jade b/index.pug similarity index 100% rename from index.jade rename to index.pug diff --git a/package.json b/package.json index b03a8bf..1a5cd68 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "gulp": "gulpjs/gulp#4.0", "gulp-clean-css": "~2.0.3", "gulp-connect": "~4.0.0", - "gulp-jade": "~1.1.0", "gulp-less": "~3.1.0", + "gulp-pug": "~3.0.2", "gulp-rename": "~1.2.2", "gulp-uglify": "~1.5.3", "html-entities": "~1.2.0",