{"id":5906,"date":"2015-07-06T02:53:54","date_gmt":"2015-07-05T17:53:54","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=5906"},"modified":"2015-07-06T02:59:14","modified_gmt":"2015-07-05T17:59:14","slug":"grunt-js%e3%81%8b%e3%82%89gulp-js%e3%81%ab%e7%a7%bb%e8%a1%8c%e3%81%97%e3%81%9f%e3%82%89%e6%8d%97%e3%81%a3%e3%81%9f%e4%bb%b6%e3%80%82-gulp%e7%a7%bb%e8%a1%8c%e3%81%ae%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=5906","title":{"rendered":"Grunt.js\u304b\u3089gulp.js\u306b\u79fb\u884c\u3057\u305f\u3089\u6357\u3063\u305f\u4ef6\u3002 gulp\u79fb\u884c\u306e\u307e\u3068\u3081"},"content":{"rendered":"<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/grunt.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/grunt.jpg\" title=\"grunt\" width=\"511\" height=\"240\" class=\"alignnone  wp-image-5909\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/grunt.jpg 639w, https:\/\/www.webcyou.com\/wp-content\/uploads\/grunt-300x140.jpg 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/a><\/p>\n<p>\u3069\u3082\u3069\u3082\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u307e\u305f\u4e45\u3005\u306a\u6c17\u304c\u3002\u3002<\/p>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30c4\u30fc\u30eb\u306f\u305a\u3063\u3068\u3001<strong>Grunt<\/strong>\u3092\u5229\u7528\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001<strong>Grunt<\/strong>\u3067\u4f7f\u3063\u3066\u3044\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u307b\u307c\u307b\u307c<strong>Gulp\u3067\u63c3\u3063\u3066\u3044\u308b\u69d8<\/strong>\u306a\u306e\u3067\u3001<strong>Gulp<\/strong>\u306b\u79fb\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u65e9\u3044\u65e9\u3044\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u8a33\u3067\u3001Gulp\u306e\u5229\u7528\u3057\u3066\u3044\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u306a\u3069\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><strong>Gulp<\/strong><\/p>\n<p><a href=\"http:\/\/gulpjs.com\/\" target=\"_blank\">http:\/\/gulpjs.com\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/6200624.png\" title=\"6200624\" width=\"280\" height=\"280\" class=\"alignnone  wp-image-5907\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/6200624.png 400w, https:\/\/www.webcyou.com\/wp-content\/uploads\/6200624-150x150.png 150w, https:\/\/www.webcyou.com\/wp-content\/uploads\/6200624-300x300.png 300w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/p>\n<p>\u5192\u982d\u3067\u3001<strong>\u300cGulp\u306b\u79fb\u884c\u3057\u305f\u3089\u6357\u3063\u305f\u3002\u300d<\/strong>\u3068\u884c\u3063\u305f\u4ef6\u3067\u3059\u304c\u3001<strong>Grunt<\/strong>\u3067\u306f\u30bf\u30b9\u30af\u304c\u76f4\u5217\u7684\u306b\u5b9f\u884c\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001<strong>Gukp<\/strong>\u3067\u306f\u4e26\u5217\u7684\u306b\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001<strong>\u4e00\u3064\u306e\u30bf\u30b9\u30af\u304c\u5b8c\u4e86\u3057\u306a\u304f\u3066\u3082\u5225\u306e\u30bf\u30b9\u30af\u304c\u8d70\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/strong><\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u51e6\u7406\u304c\u65e9\u3044\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3067\u3059\u3002\u305d\u308c\u6545\u306b\u3001<strong>\u30bf\u30b9\u30af\u306e\u51e6\u7406\u9806\u304c\u5927\u4e8b\u306a\u5834\u5408\u306f\u76f4\u5217\u306b\u5b9f\u884c\u3055\u305b\u305f\u308a\u3068\u8003\u616e<\/strong>\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<p>\u306a\u306b\u306f\u3068\u3082\u3042\u308c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<h4>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<h5>\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h5>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo npm install gulp -g<\/pre>\n<p>\u4f55\u306f\u3068\u3082\u3042\u308c\u3001PC\u5168\u4f53\u3067gulp\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u306bgulp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u805e\u304b\u308c\u307e\u3059\u306e\u3067\u3001\u8a2d\u5b9a\u3057\u3066\u3044\u308bmac\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3002<\/p>\n<h5>package.json\u4f5c\u6210<\/h5>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm init<\/pre>\n<p>\uff08npm \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u524d\u63d0\u306e\u9032\u3081\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002\uff09<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7ba1\u7406\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067 \u4e0a\u8a18\u306enpm init \u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001<\/p>\n<p>version\u3060\u3063\u305f\u308a\u3001description\u3068\u3044\u308d\u3044\u308d\u805e\u304b\u308c\u307e\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3044\u304d\u307e\u3059\u306e\u3067\u5168\u90e8\u30ea\u30bf\u30fc\u30f3\u3067\u3002<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/40df7d0da42e3e8c9909f81fe5ad4a33.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/40df7d0da42e3e8c9909f81fe5ad4a33.png\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-05 23.40.03\" width=\"417\" height=\"415\" class=\"alignnone  wp-image-5910\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/40df7d0da42e3e8c9909f81fe5ad4a33.png 521w, https:\/\/www.webcyou.com\/wp-content\/uploads\/40df7d0da42e3e8c9909f81fe5ad4a33-150x150.png 150w, https:\/\/www.webcyou.com\/wp-content\/uploads\/40df7d0da42e3e8c9909f81fe5ad4a33-300x298.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/p>\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u306b\u306a\u308a\u3001package.json\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u3067\u3053\u3061\u3089\u3067\u3001node\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7ba1\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u65e9\u901f\u3001Gulp\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5358\u4f4d\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u8ffd\u52a0<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install gulp --save-dev<\/pre>\n<p>\u540c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u59cb\u307e\u308a\u30c0\u3063\u30fc\u3068\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u51e6\u7406\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u2013save-dev \u3092\u4ed8\u3051\u308b\u3053\u3068\u306b\u3088\u3063\u3066 package.json \u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a18\u8ff0\u304c\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/8784e1f87fe9394bd56007306db02501.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/8784e1f87fe9394bd56007306db02501.png\" alt=\"\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-07-05 23.51.20\" width=\"438\" height=\"223\" class=\"alignnone size-full wp-image-5911\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/8784e1f87fe9394bd56007306db02501.png 438w, https:\/\/www.webcyou.com\/wp-content\/uploads\/8784e1f87fe9394bd56007306db02501-300x152.png 300w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" \/><\/a><\/p>\n<p>package.json \u306bgulp\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>gulpfile.js \u3092\u4f5c\u6210<\/h4>\n<p>\u30bf\u30b9\u30af\u3092\u8a18\u8ff0\u3057\u3066\u3044\u304f\u300cgulpfile.js\u300d\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><strong>gulpfile.js<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">var gulp = require(\"gulp\");<\/pre>\n<p>Gulp\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5229\u7528\u3059\u308b\u969b\u306f\u3001\u57fa\u672c require(&#8220;\u30d1\u30c3\u30b1\u30fc\u30b8\u540d&#8221;); \u3067\u5229\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4>\u30bf\u30b9\u30af\u8a2d\u5b9a<\/h4>\n<p>\u30bf\u30b9\u30af\u306e\u8a18\u8ff0\u306b\u3082 Grunt\u3068\u306e\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>grunt\u3060\u3068\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">grunt.initConfig({\r\n    watch: { \r\n        options: { \r\n            event: &#x5B;'added', 'changed', 'deleted'] \r\n        },\r\n        js: { \r\n            files: jsFiles, tasks: &#x5B;'copy:js'] \r\n        }, \r\n        ect: { \r\n            files: ectFiles, tasks: &#x5B;'copy:ect', 'exec:ect2tpl'] \r\n        }\r\n    }\r\n...\r\n});<\/pre>\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3001\u30bf\u30b9\u30af\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u51e6\u7406\u3092\u5897\u3084\u3057\u305f\u308a\u3059\u3068\u3001\u30cd\u30b9\u30c8\u304c\u6df1\u304f\u306a\u3063\u3066\u8aad\u307f\u306b\u304f\u3044\u50be\u5411\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>Gulp\u3067\u306f\u3001gulp.task(&#8216;\u30bf\u30b9\u30af\u540d&#8217;, function () {}); \u3068\u306a\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('copy-js', function () { \r\n    gulp.src(&#x5B; SOURCE_DIR + '\/js\/' + '**\/*.js', '!' + SOURCE_DIR + '\/js\/' + '**\/libs\/*.js' ])\r\n        .pipe(gulp.dest( WORK_DIR + '\/js\/' ));\r\n});<\/pre>\n<p>gulp.src\u3067\u30d1\u30b9\u306e\u6307\u5b9a\u3092\u884c\u3044\u3001pipe\u3067\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u5f62\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u3069\u3001\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306f\u691c\u7d22\u3059\u308b\u3068\u4ed6\u306e\u65b9\u306a\u3069\u304c\u66f8\u304b\u308c\u3066\u3044\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u3053\u306e\u8fba\u306b\u3057\u3066\u304a\u3044\u3066<\/p>\n<p>Grunt\u304b\u3089Gulp\u306b\u79fb\u884c\u3059\u308b\u306e\u306b\u5f53\u305f\u3063\u3066\u6700\u4f4e\u9650\u30d5\u30ed\u30f3\u30c8\u3067\u6b32\u3057\u304b\u3063\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3001Grunt\u3068\u306e\u9055\u3044\u306b\u30d5\u30e5\u30fc\u30c1\u30e3\u30fc\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h5>\u4f7f\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb<\/h5>\n<p>Grunt\u3067\u4f7f\u3063\u3066\u3044\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u304b\u3089\u3001\u6700\u4f4e\u9650\u307b\u3057\u3044\u306a\u3068\u3044\u3063\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u4e00\u89a7\u3002<\/p>\n<p>gulppath\uff1a\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6271\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3<\/p>\n<p>gulp-compass\uff1aGulp\u3067compass\u3092\u5229\u7528<\/p>\n<p>gulp-cssmin\uff1acss\u3092\u5727\u7e2e<\/p>\n<p>gulp-connect\uff1a\u958b\u767a\u30b5\u30fc\u30d0\u30fc\u7528\uff08gulp-express\u3092\u5229\u7528\u3059\u308b\u306e\u3067\u8981\u3089\u306a\u3044\uff09<\/p>\n<p>gulp-watch\uff1a\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3092\u76e3\u8996\u3059\u308b<\/p>\n<p>gulp-clean\uff1a\u30d5\u30a1\u30a4\u30eb\u306e\u524a\u9664<\/p>\n<p>gulp-uglify\uff1ajavascript\u5727\u7e2e<\/p>\n<p>gulp-concat\uff1ajavascript\u30d5\u30a1\u30a4\u30eb\u7d50\u5408<\/p>\n<p>gulp-tsc\uff1aTypeScript\u3092\u5229\u7528<\/p>\n<p>gulp-tsd\uff1aTypeScript\u578b\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>gulp-bower\uff1a\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7ba1\u7406\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>gulp-exec\uff1a\u30b7\u30a7\u30eb\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3055\u305b\u308b\u7528<\/p>\n<p>gulp-express\uff1aexpress\u00a0server\u3092\u5b9f\u884c<\/p>\n<p>gulp-plumber\uff1a\u30a8\u30e9\u30fc\u306b\u5bc4\u308b\u30bf\u30b9\u30af\u5f37\u5236\u7d42\u4e86\u56de\u907f<\/p>\n<p>gulp-strip-debug\uff1aJavaScript console log\u524a\u9664<\/p>\n<p>del\uff1a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u524a\u9664<\/p>\n<p>run-sequence\uff1a\u30bf\u30b9\u30af\u76f4\u5217\u5b9f\u884c<\/p>\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>Grunt\u3067\u5229\u7528\u3057\u3066\u3044\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u3082Gulp\u3067\u3082\u307b\u3068\u3093\u3069\u63c3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u4e0a\u8a18\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306einstall\u3068\u4f7f\u3044\u65b9\u30b5\u30f3\u30d7\u30eb\u4e00\u89a7\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>\u30d1\u30c3\u30b1\u30fc\u30b8<\/h4>\n<h5>path<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/path\">path<\/a><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6271\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save\u00a0path<\/pre>\n<p>\u203b\u4e3b\u306bexpress\u00a0server\u3067\u4f7f\u7528<\/p>\n<h5>gulp-compass<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-compass\">gulp-compass<\/a><\/p>\n<p>Gulp\u3067compass\u3092\u5229\u7528\u3059\u308b\u969b\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0gulp-compass\u00a0--save-dev<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('compass', function() {\r\n    gulp.src( \u8aad\u307f\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\u00a0)\u00a0\r\n        .pipe(plumber())\r\n        .pipe(compass({\r\n            style: 'expanded',\r\n            css: WORK_DIR + '\/css', \/\/ \u66f8\u304d\u51fa\u3057\u5148\r\n            sass: SOURCE_DIR + '\/scss' \/\/ \u8aad\u307f\u8fbc\u307f\u5148\r\n            })\r\n        );\r\n});<\/pre>\n<h5>gulp-cssmin<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-cssmin\">gulp-cssmin<\/a><\/p>\n<p>CSS\u3092\u5727\u7e2e\u3059\u308b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-cssmin<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('default',\u00a0function\u00a0()\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0gulp.src('src\/**\/*.css')\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(cssmin())\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(rename({suffix:\u00a0'.min'}))\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('dist'));\r\n});<\/pre>\n<h5>gulp-watch<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-watch\">gulp-watch<\/a><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3092\u76e3\u8996\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-watch<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('stream',\u00a0function\u00a0()\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0gulp.src('css\/**\/*.css')\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(watch('css\/**\/*.css'))\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('build'));\r\n});<\/pre>\n<h5>gulp-clean<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-clean\">gulp-clean<\/a><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-clean<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('default',\u00a0function\u00a0()\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0return\u00a0gulp.src('app\/tmp',\u00a0{read:\u00a0false})\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(clean());\r\n});<\/pre>\n<h5>gulp-uglify<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-uglify\">gulp-uglify<\/a><\/p>\n<p>javascript\u3092\u5727\u7e2e\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install --save-dev gulp-uglify<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('compress',\u00a0function()\u00a0{\r\n\u00a0\u00a0return\u00a0gulp.src('lib\/*.js')\r\n\u00a0\u00a0\u00a0\u00a0.pipe(uglify())\r\n\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('dist'));\r\n});<\/pre>\n<h5>gulp-concat<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-concat\">gulp-concat<\/a><\/p>\n<p>JavaScript\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u7d50\u5408\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install --save-dev gulp-concat<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('scripts',\u00a0function()\u00a0{\r\n\u00a0\u00a0return\u00a0gulp.src('.\/lib\/*.js')\r\n\u00a0\u00a0\u00a0\u00a0.pipe(concat('all.js'))\r\n\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('.\/dist\/'));\r\n});<\/pre>\n<h5>gulp-tsc<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-tsc\">gulp-tsc<\/a><\/p>\n<p>Gulp\u3067TypeScript\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-tsc<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('compile',\u00a0function(){\r\n\u00a0\u00a0gulp.src(&#x5B;'src\/**\/*.ts'])\r\n\u00a0\u00a0\u00a0\u00a0.pipe(typescript())\r\n\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('dest\/'))\r\n});<\/pre>\n<h5>gulp-tsd<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-tsd\">gulp-tsd<\/a><\/p>\n<p>TypeScript\u306e\u578b\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm install --save-dev gulp-tsd<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('tsd',\u00a0function\u00a0()\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0return\u00a0gulp.src('.\/gulp_tsd.json').pipe(tsd());\r\n});<\/pre>\n<h5>gulp-bower<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-bower\">gulp-bower<\/a><\/p>\n<p>Bower\u3067\u7ba1\u7406\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092Gulp\u306e\u30bf\u30b9\u30af\u3067\u5229\u7528\u3059\u308b\u969b\u306b\u4f7f\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-bower<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('bower',\u00a0function()\u00a0{\r\n\u00a0\u00a0return\u00a0bower()\r\n\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('lib\/'))\r\n});<\/pre>\n<h5>gulp-exec<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-exec\">gulp-exec<\/a><\/p>\n<p>shell\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-exec<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('exec', function() { \r\n    gulp.src('.\/') .pipe(exec('node &lt;%=\u00a0file.path\u00a0%&gt;'));\r\n});<\/pre>\n<p>unix\u306e\u30b3\u30de\u30f3\u30c9\u3082\u5b9f\u884c\u53ef\u80fd\u306a\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u69d8\u306a\u611f\u3058\u3067\u30bf\u30b9\u30af\u306b\u8ffd\u52a0\u3059\u308b\u3068<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task(\"exec\", function(){\r\n\u00a0 \u00a0 gulp.src(\".\/\")\r\n \u00a0 \u00a0 \u00a0  .pipe(exec(\"say hello world!\"));\r\n});<\/pre>\n<p>\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u3068\u300c\u30cf\u30ed\u30fc \u30ef\u30fc\u30eb\u30c9\uff01\u300d\u3068\u558b\u3063\u3066\u304f\u308c\u307e\u3059\u3002w<\/p>\n<h5>gulp-express<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-express\">gulp-express<\/a><\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-express<\/pre>\n<p>Gulp\u3067 express\u30b5\u30fc\u30d0\u30fc\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u4f7f\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('server', function() {\r\n    server.run(&#x5B;'server.js']);\r\n});<\/pre>\n<h5>gulp-plumber<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-plumber\">gulp-plumber<\/a><\/p>\n<p>Stream\u4e2d\u306b\u8d77\u3053\u308b\u306e\u30a8\u30e9\u30fc\u304c\u539f\u56e0\u3067\u30bf\u30b9\u30af\u304c\u5f37\u5236\u505c\u6b62\u3059\u308b\u3053\u3068\u3092\u9632\u6b62\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-plumber<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('compass', function() {\r\n    gulp.src( \u8aad\u307f\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\u00a0)\u00a0\r\n        .pipe(plumber())\r\n        .pipe(compass({\r\n            style: 'expanded',\r\n            css: WORK_DIR + '\/css',\r\n            sass: SOURCE_DIR + '\/scss'\r\n        })\r\n    );\r\n});<\/pre>\n<p>Gulp\u306fGrunt\u3068\u9055\u3063\u3066\u3001\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u3068\u5f37\u5236\u7684\u306b\u30bf\u30b9\u30af\u304c\u7d42\u4e86\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>compass\u306e\u30a8\u30e9\u30fc\u3067\u30bf\u30b9\u30af\u304c\u7d42\u4e86\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u3089\u4f5c\u696d\u306b\u3082\u306a\u3089\u306a\u3044\u306e\u3067\u3001\u4e0a\u8a18\u306b\u69d8\u306b.pipe(plumber())\u3092\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n<p>TypeScript\u7b49\u3082\u540c\u69d8\u306e\u5f62\u3067.pipe\u3067\u63a5\u7d9a\u3059\u308b\u3068\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h5>gulp-strip-debug<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/gulp-strip-debug\">gulp-strip-debug<\/a><\/p>\n<p>JavaScript\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u7b49\u3092\u524a\u9664\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0gulp-strip-debug<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('default',\u00a0function\u00a0()\u00a0{\r\n\u00a0\u00a0\u00a0\u00a0return\u00a0gulp.src('src\/app.js')\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(stripDebug())\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.pipe(gulp.dest('dist'));\r\n});<\/pre>\n<h5>del<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/del\">del<\/a><\/p>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save\u00a0del<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('clean', function(cb) {\r\n    del(&#x5B;RELEASE_DIR + '\/*'], {force: true}, cb);\r\n});<\/pre>\n<p>\u3053\u3053\u3067\u3001\u3061\u3087\u3063\u3068\u3064\u307e\u305a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>grunt-contrib-clean\u306e\u69d8\u306b\u3001gulp-clean\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u3001<\/p>\n<p>\u3056\u304f\u3063\u3068\u524a\u9664\u3067\u304d\u308b\u306e\u304b\u3068\u601d\u3044\u304d\u3084\u3069\u3046\u3084\u3089\u51fa\u6765\u306a\u3044\u307f\u305f\u3044\u3067\u3001<\/p>\n<p>\u3053\u3061\u3089\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u3068\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u306e force\u30aa\u30d7\u30b7\u30e7\u30f3 true\u306e\u8a2d\u5b9a\u3092\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u3067\u51e6\u7406\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3001<\/p>\n<p>{force: true}, \u3092\u4ed8\u4e0e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h5>run-sequence<\/h5>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/run-sequence\">run-sequence<\/a><\/p>\n<p>\u30bf\u30b9\u30af\u306e\u9806\u5e8f\u3092\u6307\u5b9a\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/p>\n<p><strong>install<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">npm\u00a0install\u00a0--save-dev\u00a0run-sequence<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">gulp.task('build',\u00a0function(callback)\u00a0{\r\n\u00a0\u00a0runSequence('build-clean',\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#x5B;'build-scripts',\u00a0'build-styles'],\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'build-html',\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0callback);\r\n});<\/pre>\n<p>\u5192\u982d\u3067\u66f8\u3044\u305f\u901a\u308a\u3001Gulp\u306f\u4e26\u5217\u3067\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3059\u308b\u306e\u3067\u30bf\u30b9\u30af\u5b9f\u884c\u9806\u5e8f\u306f\u4fdd\u8a3c\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>callback\u3067\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3055\u305b\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u304c\u3001runSequence\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u5bb9\u6613\u306b\u30bf\u30b9\u30af\u306e\u9806\u5e8f\u6307\u5b9a\uff08\u76f4\u5217\uff09\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001runSequence\u5185\u3067\u3001\u4e26\u5217\u306b\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u30ab\u30f3\u30de\u533a\u5207\u308a\u306e\u914d\u5217\u3067\u8a18\u8ff0\u3059\u308b\u4e8b\u3067\u4e26\u5217\u51e6\u7406\u3067\u304d\u307e\u3059 \uff08[&#8216;build-scripts&#8217;,\u00a0&#8216;build-styles&#8217;],\uff09<\/p>\n<p>\u4e0a\u8a18\u3067\u306f\u3001\u300cbuild-clean\u300d\u7d42\u4e86\u5f8c\u3001\u4e26\u5217\u3067&#8217;build-scripts&#8217;,\u00a0&#8216;build-styles&#8217;\u30bf\u30b9\u30af\u304c\u5b9f\u884c\u3055\u308c\u30012\u3064\u306e\u30bf\u30b9\u30af\u304c\u7d42\u4e86\u5f8c\u3001&#8217;build-htm&#8217;\u304c\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3068\u3001\u5229\u7528\u3057\u3066\u3044\u308bGulp\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>Grunt\u3067\u306f\u3001TypeScript\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u5897\u3048\u308b\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u306b\u304b\u306a\u308a\u6642\u9593\u304b\u304b\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001Gulp\u306f\u6c17\u306b\u306a\u3089\u306a\u3044\u304f\u3089\u3044\u3001\u304b\u306a\u308a\u65e9\u304f\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3057\u3066\u304f\u308c\u3066\u975e\u5e38\u306b\u52b9\u7387\u304c\u826f\u3044\u3067\u3059\uff01<\/p>\n<p>Grunt\u3082\u4e26\u5217\u3067\u4f7f\u3048\u308b\u3084\u3089\u306a\u3093\u3084\u3089\u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3069\u3046\u306a\u3093\u3067\u3059\u304b\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002\u307e\u305f\u307e\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3069\u3082\u3067\u3059\u3002 \u307e\u305f\u307e\u305f\u4e45\u3005\u306a\u6c17\u304c\u3002\u3002 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30c4\u30fc\u30eb\u306f\u305a\u3063\u3068\u3001Grunt\u3092\u5229\u7528\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001Grunt\u3067\u4f7f\u3063\u3066\u3044\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u307b\u307c\u307b\u307cGulp\u3067\u63c3\u3063\u3066\u3044\u308b\u69d8\u306a\u306e\u3067\u3001Gulp\u306b\u79fb\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u65e9\u3044\u65e9\u3044 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[167,177,168,176,47,179,50,46,169,44,45,64,78,114,118],"class_list":{"0":"post-5906","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-javascript","7":"tag-css","8":"tag-css3","9":"tag-html","10":"tag-html5","11":"tag-javascript-2","12":"tag-jquery","13":"tag-jquery-mobile","14":"tag-js","15":"tag-mac","16":"tag-web","18":"tag-64","19":"tag-78","20":"tag-114","21":"tag-118"},"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5906"}],"version-history":[{"count":3,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5906\/revisions"}],"predecessor-version":[{"id":5914,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5906\/revisions\/5914"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}