Skip to content

Commit

Permalink
Remove unused dependencies in gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jysperm committed May 15, 2016
1 parent 6c0b63c commit d25206c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
13 changes: 9 additions & 4 deletions README.md
Expand Up @@ -6,18 +6,23 @@

## 安装

npm install hexo-theme-simpleblock hexo-renderer-jade
npm install hexo-theme-simpleblock hexo-renderer-jade --save
mv node_modules/hexo-theme-simpleblock themes/simpleblock

修改 Hexo 的 `_config.yml` 中的 `theme``simpleblock`.
然后修改 Hexo 的 `_config.yml` 中的 `theme``simpleblock`.

## 技术栈

* Jade - 页面模板
* Less/Sass - 页面样式
* Bower - 前端包管理器
* CoffeeScript - Hexo 拓展脚本
* Gulp - 编译工具
* Gulp - 构建工具

开发:

npm install
bower install
gulp build

## 自定义

Expand Down
4 changes: 1 addition & 3 deletions gulpfile.coffee
Expand Up @@ -2,11 +2,9 @@ minifyCSS = require 'gulp-minify-css'
concat = require 'gulp-concat'
addSrc = require 'gulp-add-src'
order = require 'gulp-order'
shell = require 'gulp-shell'
less = require 'gulp-less'
gulp = require 'gulp'
sass = require 'gulp-sass'
tar = require 'gulp-tar'

gulp.task 'build:primer', ->
gulp.src 'source/_styles/primer.scss'
Expand All @@ -29,7 +27,7 @@ gulp.task 'build', ['build:styles']
gulp.task 'release', ['build'], ->
gulp.src [
'languages/*', 'layout/*', 'scripts/*', 'source/styles.css', 'source/favicon.png'
'_config.yml', 'helpers.coffee', 'LICENSE', 'package.json', 'README.md'
'_config.yml', 'LICENSE', 'package.json', 'README.md'
], base: '.'
.pipe gulp.dest 'release/simpleblock'

Expand Down
6 changes: 2 additions & 4 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-simpleblock",
"version": "0.1.4",
"version": "0.2.0",
"description": "A simple theme for Hexo.",
"homepage": "https://jysperm.me",
"license": "MIT",
Expand All @@ -27,9 +27,7 @@
"gulp-minify-css": "0.4.2",
"gulp-order": "1.1.1",
"main-bower-files": "2.5.0",
"gulp-shell": "0.4.2",
"gulp-add-src": "0.2.0",
"gulp-sass": "2.0.4",
"gulp-tar": "1.4.0"
"gulp-sass": "2.0.4"
}
}

0 comments on commit d25206c

Please sign in to comment.