æ¬ãã¼ã¸ã¯ npm.org æä¾ææ¸ã翻訳ãããã®ã§ãã åæ㯠æ¬å®¶åç § ã誤謬ã»èª¤è¨ã®ææ㯠ãã¡ã ãããé¡ããã¾ãã à npm package.json åæ±èª¬ææ¸ è¨è¿°æ¹æ³ ãã®ããã¥ã¡ã³ããéãã¦ãããªãã® package.json ã«å¿ è¦ãªå ¨ã¦ã å¦ã¶ãã¨ãåºæ¥ã¾ããè¨è¿°ã¯ JavaScript ã®ãªãã¸ã§ã¯ããªãã©ã«ã§ã¯ãªãã æ£ãã JSON ã§ãªããã°ãªãã¾ããã ãã®ããã¥ã¡ã³ãã®å¤ãã®æ¯ãèã㯠npm-config(7) ã«æ¸ããã¦ããè¨å®ã«å½±é¿ãåãã¦ãã¾ãã name package.json ã®ä¸ã§æã大äºãªé ç®ã¯ "name"(åå) 㨠"version"(ãã¼ã¸ã§ã³) ã§ããå¿ é ã§ãããããã±ã¼ã¸ã¯ããããªã㧠ã¤ã³ã¹ãã¼ã«åºæ¥ã¾ãããname 㨠version ããã£ã¦ãã¦ãããã±ã¼ã¸ã å®å ¨ã«ä¸æã¨ãªããã¨ãæ³å®ããã¦ãã¾ãããã£ã¦ããã±ã¼ã¸å
Sindre Sorhus sent in pageres (GitHub: sindresorhus / pageres, License: MIT, npm: pageres), a command-line tool for generating screenshots of websites. You can install it with npm install --global pageres, and then run it with a URL and a size: Itâs based on webshot, which is another small module that wraps around PhantomJS. There are other modules like pageres, but what I like about it is the foc
EasyImage EasyImage is a promise-based image processing module for Node.js, it is built on top of ImageMagick, so make sure ImageMagick is installed on your system. Installation EasyImage 3 is only compatible with NodeJS 4 or greater. $ npm install --save easyimage For NodeJS 0.12, use EasyImage 2 $ npm install --save easyimage@2 Quick Start Get info about an image. import {info} from "easyimage";
ããã«ã¡ã¯ãã¨ã³ã¸ãã¢ãªã®ã«ãã³ã¯ãã§ããªãã®ã³ããã§ããä»æããè¨äºãæ¸ããã¦ããã ãã¾ãã ãã¦ã¿ãªãããNode.jsãã£ã¦ç¥ã£ã¦ãã¾ããï¼ åãæè¿Node.jsã®åå¼·ãå§ããã®ã§ãNode.jsã使ã£ããã¨ããªããã©ä½¿ã£ã¦ã¿ãããã¨æã£ã¦ãã人ã«åãã¦ãNode.jsã®å ¥éçãªå 容ãç´¹ä»ãããã¨æãã¾ãã â¼2020å¹´ææ°çã¯ãã¡ãï¼ Node.jsã¨ã¯ ä¸è¨ã§è¨ãã¨ã¢ããJavaScriptã§ãã é常ãJavaScriptã¯ã¦ã¼ã¶ã¼ã®ãã©ã¦ã¶ã§åä½ããããã°ã©ãã³ã°è¨èªã§ãããNode.jsã¯ãµã¼ãã¼å´ã§åä½ããJavaScriptã§ãããWebæ¥çã§ã¯ããªã注ç®ããã¦ãã¾ãã大éã®å¦çã«å¯¾å¿ããããã«ããã³ããããã³ã°I/Oã¨ããã¢ãã«ãæ¡ç¨ãã¦ãã¾ãã ä¾ãã°ããã¼ã¿ãã¼ã¹ãã大éã®æ å ±ãåå¾ãã¦Webãã¼ã¸ä¸ã«è¡¨ç¤ºãããå¦çããããªãå ´åãé常ã¯ãã¼ã¿ãã¼ã¹ã¸ã¢ã¯ã»ã¹ã
sindresorhus/pageres ç°¡åã«ã¹ã¯ãªã¼ã³ã·ã§ãããæ®ãã ã¤ã³ã¹ãã¼ã« npm install --save pageres 使ãæ¹ è§£å度ãæå®ã§ãã $ pageres Specify at least one url Get screenshots of websites in different resolutions. Specify urls and screen resolutions as arguments. Order doesn't matter. Usage pageres <url> <resolution> [<resolution> <url> ...] pageres [<url> <resolution> ...] < <file> cat <file> | pageres [<url> <resolution> ...] Example
(追è¨) ãã®è¨äºã¯å ¬éããæéãçµã£ã¦ãããå 容ãå¤ããªã£ã¦ãã¾ãã2016å¹´æç¹ã§ã¯Webpackãå§åçã«ããããã§ãã JavaScriptãCSSã®ãã«ããèªååãããã¨ã§ãæä½æ¥ã«ããç¡é§ãªæéããã¹ãåæ¸ã§ãã¾ããã¾ãã誰ã§ããã«ãã§ããããã«ãªãããããªãªã¼ã¹ã®ããã«ããã¯ã解æ¶ã§ãã¾ãã æ¹åãããã㨠JavaScriptãã¬ã¼ã ã¯ã¼ã¯ãCSSãã¬ã¼ã ã¯ã¼ã¯ã®ä¾åé¢ä¿ãèªåçã«ç®¡çãããããã¦ã³ãã¼ããã¦é ç½®ãæä½æ¥ã§ãããããªãã CoffeeScriptãLESSã®ã³ã³ãã¤ã«ãèªåçã«å®è¡ããããæé æ¸ãè¦ãªããã³ãã³ããå©ãã¨ããããããªãã ãã¦ã³ãã¼ãããã©ã¤ãã©ãªããªãã¸ããªã«å ¥ããããªãã åºè·å¯¾è±¡ã®ãªã½ã¼ã¹ãæ確ã«ããããã´ããã¡ã¤ã«ããªãªã¼ã¹ããããªãã ã©ããã£ã¦å®ç¾ããï¼ bowerã§ã©ã¤ãã©ãªã®ä¾åé¢ä¿ã管çããã gulpã§ãã«ããèªååããã
ãã®ãµã¤ãã«ã¤ã㦠Gruntã®æ¥æ¬èªãªãã¡ã¬ã³ã¹ã§ãã Gruntã®æ¬å®¶ãµã¤ã(è±æ) ã®å 容ã翻訳ãã¦ä½æãã¦ãã¾ããã誤訳ã誤è¨ãããã¨æãã¾ãã®ã§ãã®ç¹ã«ã¤ãã¦ã¯ãäºæ¿ãã ããã ããã誤訳ãªã©ã®ééããè¦ã¤ãã¾ãããã @tomof ã¾ã§æãã¦ããã ããã°å¹¸ãã§ãã News 2013.04.15 ãµã¤ãããªã¼ãã³ãã¾ããã æ¦è¦ ä½æ ã¿ã¹ã¯ã©ã³ãã¼ã使ãã®ãï¼ ä¸è¨ã§è¨ãã°ãèªååã®ããã§ãã ãã¡ã¤ã«å§ç¸®ãã³ã³ãã¤ã«ãåä½ãã¹ããLintãªã©ã®ç¹°ãè¿ãå®è¡ããªããã°ãããªãã¿ã¹ã¯ãèªååãããã¨ã§ãä»äºã楽ã«ãã¦ããã¾ãã ã¿ã¹ã¯ã©ã³ãã¼ãè¨å®ããã°ããããã£ãåé·çãªã»ã¨ãã©ã®ä»äºããããªãããã¼ã ã®ããã«è¡ãªã£ã¦ããã¾ãã ä½æ Gruntãªã®ãï¼ Gruntã¨ã³ã·ã¹ãã ã¯ã巨大ã§æ¥ã æé·ãã¦ãã¾ãã Gruntã使ã£ã¦æåéãä½ç¾ãã®ãã©ã°ã¤ã³ããé¸æããæå°éã®åªåã§èª
ã¯ããã« ã¡ãã£ã¨ãããã¤ãã¦ã¹ããã§ç¢ºèªããããçã«è¦ã¦ããã£ã¦ææ³ã欲ãããã¨ã«ããç´ãã«ãããã¤ãããããããªæã«ä¾¿å©ãªgrunt.jsç¨ã®ã¿ã¹ã¯ã®grunt-rsyncã§ãã rsyncã³ãã³ãç¥ã£ã¦ã¾ããï¼ åã¯ç¥ãã¾ããã§ããï¼æ±ããã¡ã¤ã«ç¾¤ã®åæãåãç¨éã®ã³ãã³ãã§ãå²ã¨å¤ãããããã¿ããã§ããå¤ãã®Unixç³»ç°å¢ã«ããã©ã«ãã§å ¥ã£ã¦ããããã§ããååã®éãããã¡ã¤ã«ã®åæãåãã®ããã®ã³ãã³ãã®ä»äºã§ããã¼ã«ã«å士ã§ããªã¢ã¼ãã¨ãSCPçµç±ãªã©ã§åæãåããããã§ãã 詳ããã¯Wikiã§ã grunt-rsyncããã±ã¼ã¸ rsyncwrapperã¨ããrsyncç¨ã®ããã±ã¼ã¸ã使ç¨ãã¦ããgruntç¨ã¿ã¹ã¯ã§ãããã£ã¨ã·ã³ãã«ã«rsyncãã©ãããã¦ãã grunt-rsync-2 ã¨ããã®ãåå¨ãã¾ãããã³ãã¼ã«å¤±æãã¦ããã¨ã©ã¼ãåºãªãã£ãã®ã§ãã¡ãã®æ¹ãããã¨æã
Web éçºãã¦ãã¨ãã½ã¼ã¹ãç·¨éãã¦ããã©ã¦ã¶ã¼ããªãã¼ããã¦ãã¨ããä½æ¥ã®ç¹°ãè¿ãã«ãªããã¡ã ãã½ã¼ã¹ãç·¨éããããèªåã§ãã©ã¦ã¶ã¼ããªãã¼ããã¦ããããããªå¤¢ã®ãã¼ã«ãããã°ä¾¿å©ããã ã ãã®åéã§ã¯ CodeKit ã LiveReload ãªã©ãæåãªãã ãã©ããããªãææã ã£ãã GUI ã ã£ãããããããã§ãLiveReload ã®ãªã¼ãã³ã½ã¼ã¹ãªé¨åãåèã«ãã¤ã¤ãã³ãã³ãã©ã¤ã³ã§ä½¿ãã LiveReloadX ã¨ãããã®ãä½ã£ã¦ã¿ãã ç¹é·ã¯ãããªã¨ããã Node.js ã使ã£ã¦ãã®ã§ Windows/Mac/Linux åããã«åããã éçºç°å¢ã®ãã©ã¦ã¶ã¼ã ãã§ãªãã¹ãã¼ããã©ã³ã®ãã©ã¦ã¶ã¼ããªãã¼ãã§ãã ç¡æ ã¤ã³ã¹ãã¼ã«æ¹æ³ ã¤ã³ã¹ãã¼ã«ã¯è¶ ç°¡åï¼ Node.js ãã¤ã³ã¹ãã¼ã«ããã ã³ãã³ãã©ã¤ã³ã§ npm install -g livereloadx ã
ã¯ããã« CentOS 6.0ã«node.jsãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã ã¯ããã¦ã®Node.js -ãµã¼ãã¼ãµã¤ãJavaScriptã§Webã¢ããªãéçºãã-posted with amazlet at 13.05.25æ¾å³¶ 浩é ã½ãããã³ã¯ã¯ãªã¨ã¤ãã£ã 売ãä¸ãã©ã³ãã³ã°: 21,749 Amazon.co.jpã§è©³ç´°ãè¦ã äºåæºå 1. 以ä¸ã®ã³ãã³ããå®è¡ãã¦gcc-c++ãã¤ã³ã¹ãã¼ã«ãã¾ãã yum update yum install gcc-c++2. 以ä¸ã®ã³ãã³ããå®è¡ãã¦openssl-develãã¤ã³ã¹ãã¼ã«ãã¾ãã yum update yum install openssl-devel node.jsãã¤ã³ã¹ãã¼ã«ãã 以ä¸ã®ã³ãã³ãã¯rootã§å®è¡ãã¾ãã wget http://nodejs.org/dist/v0.5.1/node-v0.5.1.
Why use a task runner?In one word: automation. The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you've configured it through a Gruntfile, a task runner can do most of that mundane work for youâand your teamâwith basically zero effort. Why use Grunt?The Grunt ecosystem is huge and it's growin
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}