LoginSignup
1
1

More than 5 years have passed since last update.

メモ:npm

Last updated at Posted at 2016-02-19

参考

必須パッケージインストール

sudo npm install -g node-cli
sudo npm install -g grunt-cli

.gitignore

  • npm install./node_modules/が生成されるため除外。
.gitignore
node_modules/

動かしてみた

JSNES

ビルド
git clone https://github.com/GusCaplan/jsnes.git
cd jsnes
npm install
grunt
webサーバ起動
python -m SimpleHTTPServer
  • http://localhost:8000 にアクセス
    • フォルダ全体を別のwebサーバに移しても動作する。
  • firefoxだと遅い(chromeの半分程度)。音出る。
  • chrominium: 早い。音出ない
  • google-chrome: 早い。音出る

OS.js-v2

ビルド
git clone https://github.com/andersevenrud/OS.js-v2.git
cd OS.js-v2
npm install
grunt
起動
./bin/start-dist.sh
  • http://localhost:8000 にアクセス
  • メモを作成すると以下に保存される。
    • ./vfs/home/demo/メモ1.odoc

c -> js

snes

sudo apt-get install -y emscripten
git clone https://github.com/tjwei/xnes.git
cd xnes
./buildall
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1