- Notifications
You must be signed in to change notification settings - Fork8
Install
uupaa edited this pageApr 20, 2017 ·11 revisions
WebModule や WebModule で書かれたモジュールを利用するには、開発環境のセットアップが必要です。
このエントリでは必要なソフトウェアをインストールする手順について説明します。
以下のソフトウェアが必要です。
Mac OS X 10.9.5 以上
Xcode の最新版と iOS Simulator (iOS Simulator は Xcode にバンドルされています)
JDK ver 1.7 以上(または Closure compiler が要求するバージョン) をインストール
- Closure compiler が JDK に依存しています
Node.js の v0.12 をインストール し、以下のコマンドを実行してください
npm install -g plato
- plato は
npm run score
コマンドで必要です
- plato は
npm install -g eslint@2.0.0
- eslint は
npm run lint
コマンドで必要です
- eslint は
npm install -g uupaa.compile.js
npm run min
とnpm run build
コマンドで必要です
WebModule では、以下のソフトウェアもサポートしています。これらは必要に応じてインストールを行ってください。
- NW.js をインストール すると
$ nw test/ nw
コマンドが利用可能になります - Electron をインストールすると
$ npm run el
コマンドが利用可能になります $ brew node-inspector
で node-inspector をインストールすると$ npm run noded
コマンドが利用可能になります