タグ

node.jsとtipsに関するzepbagのブックマーク (2)

  • node.js 入れるなら nodebrew が超簡単 - tacamy--blog

    node をバージョン別に使い分けたりしたかったので、nodebrew なるものを使うことにした(hokaccha++)。 最初は nvm 使ったんだけど、なんかうまくできなかった。 ~/.bashrc に設定書いたら、ターミナル起動するたびに nvm use v0.8.19 とか出てくるのがイラっとしたのでやめた。 1. nodebrew のインストール ターミナルに以下の 1 行コピペするだけ。超簡単。 curl https://raw.github.com/hokaccha/nodebrew/master/nodebrew | perl - setup 2. 環境設定ファイルにパスを通す いまだに「パスを通す」っていう意味が分かってないけど、これをやらないと、ターミナルを再起動したときに、せっかく入れたツールが使えなくなるっていう認識でおります・・。 私は ~/.bashrc を使っ

    node.js 入れるなら nodebrew が超簡単 - tacamy--blog
  • NPM tricks | Guillermo Rauch's Devthought

    I decided to put together a little list of tips and tricks related to NPM you might not know about, that come from my experience working with it daily, in both production and development. Dev dependencies Make sure packages that only need to be installed while developing your module, like test frameworks, are included as devDependencies: "devDependencies": { "module": "0.1.0" } Introspecting packa

  • 1