Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
package.json{ "private": true, "devDependencies": { "gulp-nunjucks-render": "^1.1.0" //ææ°ã®ãã¼ã¸ã§ã³ã«å¤æ´ããã } } ããã±ã¼ã¸ãã¨ã«ææ°ã®ãã¼ã¸ã§ã³ãï¼ã¤ï¼ã¤ãã§ãã¯ããã®ã¯å¤§å¤ãªã®ã§ã便å©ãªããã±ã¼ã¸ã使ç¨ãã¾ãã npm-check-updatesnpm-check-updatesã使ç¨ããã°ãpackage.jsonã«è¨è¼ããã¦ããããã±ã¼ã¸ã®ãã¼ã¸ã§ã³ãææ°ã«ãã¦ããã¾ãã
curlã³ãã³ãããnodebrewãã¤ã³ã¹ãã¼ã«ããå ´åã¨å°ãéãããã§ã åæ§ç¯ã®éã«ã¨ã©ã¼ãªã©ã§å°ãã¯ã¾ã£ãã®ã§ã»ã»ã» ãªã«ãããããªã¨ãããããã°ææãã¦ããã ããã¨å¹¸ãã§ãã åææ¡ä»¶ MacOS X Homebrew ã¤ã³ã¹ãã¼ã«æ¸ã¿ Node.js æªã¤ã³ã¹ãã¼ã« nodebrewã®ã¤ã³ã¹ãã¼ã« brewã³ãã³ããå©ç¨ãã¦nodebrewãã¤ã³ã¹ãã¼ã« $ brew install nodebrew ã¤ã³ã¹ãã¼ã«ã®ç¢ºèª $ nodebrew help nodebrew 0.9.6 Usage: nodebrew help Show this message nodebrew install <version> Download and install <version> (compile from source) nodebrew install-binary <versio
ãã®ãã¹ãã¯ä»¥ä¸ã®è¨äºãæ訳ãããã®ã§ãã Iâve Just Liberated My Modules - Medium.com Twitterã§ããã³ãç³»ã®ã¨ã³ã¸ãã¢ã®æ¹ãããã¤ãã¦ããã®ã§è¨³ãã¾ãããééããæãã¾ãããããææããã ããã¨å¹¸ãã§ãã 以ä¸ãæ訳ã æ°é±éåãç¹è¨±å¼è·å£«ãç§ã«ã¡ã¼ã«ããããã¾ãããã¡ã¼ã«ã®å 容ã«ããã¨ãç§ã®ä½æãã"kik"ããã±ã¼ã¸ãnpmããåé¤ãããã¨ã®ãã¨ã§ãããè¿çã¨ãã¦ã¯"No"ã§ããããå¼è·å£«ããã¯æ¬¡ã®ãããªè¿ä¿¡ãæ¥ã¾ããã"æªãã¨ã¯æãã¾ãããkikã¯æã ã®ç»é²æ¸ã®å称ã§ãã®ã§ãããªãã®å®¶ã«å¼è·å£«ããã£ã¦ãã¦ããªãã®ã¢ã«ã¦ã³ããåãä¸ãã¦ããããã¨ã«ãªãã§ãããã" ç§ã"kik"ã®ã³ã¼ããæ¸ãå§ããã¨ããååã®ä¼æ¥ããããªãã¦ç¥ãã¾ããã§ããããä¼æ¥ã«ååãå¤ãããããããªãã¦ã´ã¡ã³ã§ããè¦æ±ãæ絶ãããå½¼ãã¯ãnpmã®ãµãã¼ãã«å¯¾ã
ã¤ãå æ¥4.0ãåºãã°ããã¨æã£ã¦ãããããã5.0ãåºã¾ããã ãã ã5.0ã¯LTSçã§ã¯ãªãã®ã§ãNode.jsã®å ¬å¼ãã¼ã¸ã¯ä»¥ä¸ã®ããã«ãLTSã®4ç³»ã¨5.0ã®ä¸¡æ¹ãããããã¼ã¸ã«è¡¨ç¤ºãããããã«ãªã£ã¦ã¾ãã Node.js ã¡ãªã¿ã«ãNode.js 5.0.0ã§ã®å¤æ´ç¹ã¯ãããªæãã https://github.com/nodejs/node/blob/v5.0.0/CHANGELOG.md å人çã«ç¹ã«å¤§ããªå¤æ´ç¹ã¯ã³ã¬!! npm 3ç³»ã¸ã®ã¢ãããã¼ã node.jsã«ãã³ãã«ããã¦ããnpmã®ãã¼ã¸ã§ã³ãä¸ããã¾ããã npm3ç³»ã«ã¤ãã¦ã¯ã以åãããªãã¥ã¼ã¹ãããã¾ãããããããNode.jsã®æ¨æºã¨ãã¦æè¼ããã¾ããã http://www.infoq.com/jp/news/2015/07/npm http://www.infoq.com/news/2015/06/n
ããã«ã¡ã¯ãåç° (@t_wada) ã§ããæ¬æ¥ã¯ Node.js Advent Calendar ã® 7 æ¥ç®ã¨ãã¦ã Node.js ã§éçºããéã®è¨å®ãã¡ã¤ã« package.json ã«ã¾ã¤ãã Tips ã«ã¤ãã¦æ¸ãããã¨æãã¾ãã ã¯ããã« ç§ã¯ããã¾ã§ power-assert ãçé ã«ãããã¤ã npm ã¢ã¸ã¥ã¼ã«ããªãªã¼ã¹ãã¦ãã¾ããã Node.js ã使ã£ãéçºã«ã¯ãè¨å®ãã¡ã¤ã« package.json ã®è¨è¿°ãå¿ è¦ã§ããç¹ã« npm ã¢ã¸ã¥ã¼ã«ãå ¬éããå ´åã«ã¯ãè¨å®ãã¹ãäºãèããã¹ãäºãããããå¢ãã¦ãã¾ããä»åã¯ã npm ã¢ã¸ã¥ã¼ã«ãä½ã£ã¦ããéç¨ã§å¦ãã package.json ã«é¢ãã Tips ã®ä¸ã§ããã¾ãç¥ããã¦ããªããã¤ãã¼æ°å³ãªãã®ãæãã¦ããããã¨æãã¾ãã Tips1: package.json ã® files ãã£ã¼ã«ãã§ãã¯ã¤ããªã¹
ãªããæè¿Twitterã¨ãè·å ´ã§ããnpmã®æ©è½ã§ãããªã®ãã£ããã ãã£ã¦è¨ããããã¨å¤ãã®ã§ã説æãã¦ããã¾ãã ã¡ãªã¿ã«ã¿ã¤ãã«ã«ã¨ãããã10é¸ã£ã¦æ¸ãããã©ãããã¾ãããããæãã¤ãã¦ãªãã®ã«ã10é¸ã£ã¦æ¸ãã¦ãã¾ã£ãã®ã§æå¾ã®æ¹ã¯å¾®å¦ããããã¾ããã 1. npm install㯠npm i ã§ãåããã¨ãã§ãã ã¾ãåç´ãªã·ã§ã¼ãã«ããã§ãããisntallã¨ãtypoãã¦ã¦ã空æ°èªãã§ããããã§ãããçãã»ããããããã£ã¦ãã¨ã§ã # npm installã£ã¦æ¸ãã®ã $ npm install socket.io #npm i ã£ã¦æ¸ãã®ãåã $ npm i socket.io # ã¡ãªã¿ã« --save㯠-S, --save-dev㯠-D ã«ã§ãã $ npm i socket.io -S $ npm i mocha -Dã·ã§ã¼ãã«ããå°ãã¿ã 2. npm
ãã¤ãå¿ãã¦ãã¾ãã®ã§æ¸ãçãã¦ããã¾ããmacOS Montereyï¼12.4ï¼ã§ç¢ºèªããã¦å 容ãæ´æ°ãã¾ããããã®è¨äºã§ç´¹ä»ãã¦ãããã¼ã«ãnããv8.2.0ã«ãªãã¾ããï¼ Node.jsã®ã¢ãããã¼ã n ã¨ãã便å©ãªãã¼ã¸ã§ã³ç®¡çãã¼ã«ãããã®ã§ãããã使ã£ã¦ãã¼ã¸ã§ã³ã確èªãã¦ã¢ãããã¼ããã¾ããnã®è©³ãã使ãæ¹ã¯ãã¡ãã®è¨äº ãããããåç §ããã ãã¨è¯ãã¨æãã¾ããn ã使ãéã®æ³¨æç¹ããã£ãã説æããã¦ãã¾ãã nã®ã¤ã³ã¹ãã¼ã« $ npm install -g n Node.jsã®ãã¼ã¸ã§ã³ã®ç¢ºèª 1è¡ç®ã®ãâstableãã§Stableï¼æ¨å¥¨çï¼ã®ãã¼ã¸ã§ã³ã2è¡ç®ã®ãâlatestãã§ææ°çã®ãã¼ã¸ã§ã³ã確èªã§ãã¾ãã $ n --stable $ n --latest Latestã®ã¤ã³ã¹ãã¼ã« $ n latest latestã¯ææ°ã®æ©è½ãæè¼ããææ°çã¸ã®ã¢ãã
ãã®Topicã¯Web Applicationã®frontendã®Projectã管çããTopicã®2ã¤ç®ã§ãã node.jsã®versionã管çããããã«nodebrewãå©ç¨ãã npmã§node.jsã®packageã管çãã grunt.jsã使ã£ã¦ãfrontendã®ãã«ããè¡ã åææ¡ä»¶ã¨ãã¦ãåã®ç°å¢ã¯Mac OSã§ãã ##npmã¨ã¯ï¼ npmã¯node.jsã®packageã管çããããã®ãã¼ã«ã§ãã node.jsèªä½ã¯JavaScriptã§åºæ¥ãWeb Serverã§ãããfrontendã管çããããã®toolãããããããã¾ãã npmã¯node.jsã®packageã管çãããã®ãã¼ã«ã§ãã Javaãåããæ¹ã¯ãmavenã®ãããªãã®ã ã¨æ³åãã¦ããã ããã°ãåããããããã¨æãã¾ãã ##npmã§packageãã¤ã³ã¹ãã¼ã«ãã npmã§package
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã®ãã¹ãã¯ãWhy I Left Gulp and Grunt for npm Scriptsãçè ã®è¨±è«¾ãå¾ã¦æ訳ãããã®ã§ããééããããã¾ãããããææããã ããã¨å¹¸ãã§ãã ï¼ä»¥ä¸ãè¨³ï¼ ç§ã¯Gulpã¨Gruntãä¸è¦ãªæ½è±¡åã¬ã¤ã¤ã¼ã ã¨æ°ã¥ãã¾ãããnpmã®scriptsã¯ã¨ã¦ãå¼·åã§ããã£ã¡ã®æ¹ã便å©ã ã£ãããã¾ãã ä¾ãæãã¾ããã ç§ã¯ãã¤ã¦ã¯Gulpã大好ãã§ããããããçµå±ã®ã¨ããã100è¡ãã®gulpfileã¨å¤§éã®gulpãã©ã°ã¤ã³ãæ±ããã¡ã«ãªãã¾ãããGulpä¸ã§WebpackãBrowsersyncãMo
ãã¼ã¯npm startã®ããã«ã¨ã¤ãªã¢ã¹ã¨ãã¦å©ç¨ã§ããååã¨ãªããå¤ã«ã¯shell scriptãã¯ã³ã©ã¤ã³ã§æå®ããã ãã¼ã¯èªç±ã«æå®ã§ããããä¸ã«ã¯æ¢ã«äºç´ããã¦ããååããããããããå«ãã¦ä»¥ä¸ã®4種é¡ã«åé¡ã§ããã æå³ä»ãã ãããããnpm-scripts start appãèµ·åãããããªshell scriptã®ã¨ã¤ãªã¢ã¹ã¨ãã¦ç¨ããã restart appãåèµ·åãããããã®shell scriptã®ã¨ã¤ãªã¢ã¹ã¨ãã¦ç¨ããã stop appãåæ¢ãããããã®shell scriptã®ã¨ã¤ãªã¢ã¹ã¨ãã¦ç¨ããã test appããã¹ããããããªshell scriptã®ã¨ã¤ãªã¢ã¹ã¨ãã¦ç¨ããã ä»ã®npmã³ãã³ããããã¯ããå½¢ã§å®è¡ãããnpm-scripts publish npm publishã®å¾ã«å®è¡ãããã install npm installã®å¾ã«å®è¡
æ¬ãã¼ã¸ã¯ npm.org æä¾ææ¸ã翻訳ãããã®ã§ãã åæ㯠æ¬å®¶åç § ã誤謬ã»èª¤è¨ã®ææ㯠ãã¡ã ãããé¡ããã¾ãã à npm package.json åæ±èª¬ææ¸ è¨è¿°æ¹æ³ ãã®ããã¥ã¡ã³ããéãã¦ãããªãã® package.json ã«å¿ è¦ãªå ¨ã¦ã å¦ã¶ãã¨ãåºæ¥ã¾ããè¨è¿°ã¯ JavaScript ã®ãªãã¸ã§ã¯ããªãã©ã«ã§ã¯ãªãã æ£ãã JSON ã§ãªããã°ãªãã¾ããã ãã®ããã¥ã¡ã³ãã®å¤ãã®æ¯ãèã㯠npm-config(7) ã«æ¸ããã¦ããè¨å®ã«å½±é¿ãåãã¦ãã¾ãã name package.json ã®ä¸ã§æã大äºãªé ç®ã¯ "name"(åå) 㨠"version"(ãã¼ã¸ã§ã³) ã§ããå¿ é ã§ãããããã±ã¼ã¸ã¯ããããªã㧠ã¤ã³ã¹ãã¼ã«åºæ¥ã¾ãããname 㨠version ããã£ã¦ãã¦ãããã±ã¼ã¸ã å®å ¨ã«ä¸æã¨ãªããã¨ãæ³å®ããã¦ãã¾ãããã£ã¦ããã±ã¼ã¸å
2015-03-22 npmã®ä½¿ãæ¹ã®åå¼·ã¡ã¢1(node.js=v0.11.16, npm=2.3.0) Node.js npm npmã®ä½¿ãæ¹ã®åå¼·ã¡ã¢ã åå¼·ç°å¢ï¼ $ node --version v0.11.16 $ npm --version 2.3.0 åèï¼ https://docs.npmjs.com/ https://docs.npmjs.com/misc/faq npm help install npm help root npm help bin npm help 5 folders npm help 7 config ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ã®èãæ¹ï¼ ãã¼ã«ã«ã¤ã³ã¹ãã¼ã« ã«ã¬ã³ããã£ã¬ã¯ããªã® node_modules 以ä¸ã«ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ã éçºããã¸ã§ã¯ãåºæã§ä¾åããããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãããæã«ä½¿ãããããã ã°ãã¼ãã«ã¤ã³ã¹ãã¼ã« ã·ã¹ã
moria A routing system for Mithril v0.X*. Mithril has a beautiful lightweight routing paradigm, but as legends recount, sometimes you need to dig deep to get at the good bits: it's difficult to express the routing of a complex application when m.route( rootElement, defaultRoute, routesHash ) can only be invoked once and the routes hash has to be flat. Moria aims to solve these problems by producin
ããã«ã¡ã¯ãããã³ãã¨ã³ãã¨ã³ã¸ãã¢ã®ãã¤ãã§ã(ΦÏΦ) å»å¹´ã®11æ辺ããããã¡ã¤ã³ãã·ã³ãWinããMacã«å¤ããã¾ããã Winã¡ããããµããã·ã³ã¨ãã¦é å¼µã£ã¦ããã¦ãã¾ãã主ã«æ¤è¨¼ã«ä½¿ç¨ãã¦ãã¾ããããã ã¡ã¤ã³ãã·ã³ã®äº¤ä»£ãæ©ã«gulpãå°å ¥ããã®ã§ãæ¹æ³ããææãããã¡ããã¡ããã¨ã¾ã¨ãã¦ããã¾ãã ä»åã¯ãç°¡åãªã¿ã¹ã¯ãç»é²ãã¦åããã¨ããã¾ã§ã ãã®ï¼ã§ããã¡ã¤ã«ã®ç£è¦ãåæå¦çãªã©ãè¦ãã¦ããããã¨æãã¾ãã ããã ã¿ã¹ã¯ã©ã³ãã¼ã£ã¦ãªã«ï¼ Gruntã¨gulp å¿ è¦ãªãã®ãæºåãã ã¿ã¹ã¯ãæ¸ãã¦ãå®è¡ããã ã¾ã¨ã ã¿ã¹ã¯ã©ã³ãã¼ã£ã¦ãªã«ï¼ ã¡ã¤ã³ãã·ã³ãOSãã¨å¤ãã£ãã®ã§ãèªåã®éçºç°å¢ãæ´çã»åæ´åããéã« ï¼Â´-ï¼.。oOï¼ãã£ã¡ãæè¿æµè¡ãã®ã¿ã¹ã¯ã©ã³ãã¼ã§ãå ¥ãã¦ã¿ããããâ¦ï¼ ã¨æãç«ã£ã次第ã§ãã 大å¦æ代ã®ãã©ã¦ãããé»ãç»é¢ã¯ãã¾ã好ãã§ã¯ãªã
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãç¥ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}