Socket
Book a DemoInstallSign in
Socket

generator-chromeapp-dart

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-chromeapp-dart

Yeoman generator for Chrome App in Dart

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

generator-chromeapp-dart Build Status

Yeoman generator for Chrome App in Dart

使い方

Yeomanとgenerator-chromeapp-dartのインストール

$ npm install -g grunt-cli bower yo generator-chrome-app-dart

Dartのインストール

Dart Editorをインストールします。その後環境変数を追加してください。

export DART_SDK=path/to/dart/dart-sdk
export PATH=$PATH:path/to/dart/dart-sdk/bin

アプリの新規作成

  • プロジェクトのルートディレクトリを作ります (/sample)
  • 作ったディレクトリに移動します
    $ cd sample
  • ジェネレータを起動します。
    $ yo chromeapp-dart
  • 実行します
    $ grunt debug
  • http://localhost:9000 を開きます。 "Hello Dart!"

Chromeアプリとして実行

  • chrome://extensions を開き、パッケージ化されていない拡張機能を読み込むから、/appディレクトリを読み込みます。
  • 起動してください。

gruntタスクについて

  • grunt build プロジェクトをビルドし、デバッグ可能な状態にします。

  • grunt debug プロジェクトをビルドし、デバッグを開始します。プロジェクト内のファイルに変更があると自動でビルドしてChromeアプリを更新します。

今後の予定

  • cca対応(Androidのみ)
  • サンプルプロジェクトの種類を増やす

License

MIT

Keywords

yeoman-generator

FAQs

Package last updated on 10 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.