express-generator@4から「express project-name」した時にもろもろ古かったりするので、そのテンプレをもとにdeprecatedのお知らせが出ないように書き換えたもの("/public/favicon.ico" を入れないとエラーになるので注意)。
{
"name": "project-name",
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
gulp.task('ngrok', function() { | |
ngrok.once('connect', function(url) { | |
console.log('we got a tunnel', url); | |
}); | |
ngrok.connect(3000); | |
}); |
// Original: https://github.com/gaspanik/gulpbase/ | |
// Update 0.2.0 | |
var gulp = require('gulp'), | |
// 列挙するのが面倒なので、load-pluginsでプラグインをロード。何使ってるかは「package.json」で | |
var $ = require('gulp-load-plugins')({ | |
pattern: ['gulp-*', 'gulp.*'], | |
replaceString: /\bgulp[\-.]/ |
{ | |
"name": "BSC4WP_s", | |
"version": "0.0.1", | |
"description": "Browser-Sync Config for WordPress Theme Development ~ underscores.me", | |
"main": "index.php", | |
"scripts": { | |
"start": "browser-sync start", | |
"postinstall": "git clone [email protected]:Automattic/_s.git ../_s", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, |
/* | |
|-------------------------------------------------------------------------- | |
| Browser-sync config file | |
|-------------------------------------------------------------------------- | |
| | |
| Please report any issues you encounter: | |
| https://github.com/shakyShane/browser-sync/issues | |
| | |
| For up-to-date information about the options: | |
| https://github.com/shakyShane/browser-sync/wiki/Working-with-a-Config-File |
{ | |
"name": "project-name", | |
"version": "0.0.1", | |
"description": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit.", | |
"main": "index.html" | |
} |