- 「Browser Support」を追加しました。
こもりが使っているモノやそうでないものも含め、なんとなくWebデザイナーやWebデベロッパーな人たちに便利そうなのを集めてみました。
var gulp = require("gulp"); | |
var loadPlugins = require('gulp-load-plugins'); | |
var $ = loadPlugins(); | |
var browserSync = require("browser-sync"); | |
// base config | |
var paths = { | |
vhost: "***********", | |
cmnDir: "htdocs/cmn/", |
// Original: https://github.com/gaspanik/gulpbase/ | |
var gulp = require('gulp'), | |
// 列挙するのが面倒なので、load-pluginsでプラグインをロード。何使ってるかは「package.json」で | |
$ = require('gulp-load-plugins')({ | |
pattern: ['gulp-*', 'gulp.*'], | |
replaceString: /\bgulp[\-.]/ | |
}), |
module.exports = (grunt) -> | |
# プラグインを package.json から自動読み込み | |
pkg = undefined | |
taskName = undefined | |
pkg = grunt.file.readJSON("package.json") | |
# タスクスタート | |
grunt.initConfig |
$root-font-size: 15 !default; | |
// rem() | |
// Divides $input by $root-font-size and appends "rem" unit | |
// $input is processed via px() if it contains multiple values | |
// | |
// PARAMS: | |
// $input required | |
// |
#################################### | |
# COMPASS CONFIG # | |
# --------- # | |
# PUT config.rb ON PROJECT ROOT # | |
#################################### | |
##================================## | |
# Require any additional compass plugins here. | |
##================================## |
require 'bundler/setup' | |
require 'thread' | |
require 'launchy' | |
require 'directory_watcher' | |
require 'jekyll' | |
desc 'preview' | |
task preview: [:watch] do | |
Thread.new do |
require 'bundler/setup' | |
require 'thread' | |
require 'launchy' | |
desc 'preview' | |
task :preview do | |
Thread.new do | |
sleep 1 | |
Launchy.open 'http://localhost:9001/' | |
end |
Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# | |
# If you find yourself ignoring temporary files generated by your text editor | |
# or operating system, you probably want to add a global ignore instead: | |
# git config --global core.excludesfile ~/.gitignore_global | |
# Ignore bundler config | |
################### | |
/.bundle | |
/.gem |