LoginSignup
10
10

More than 5 years have passed since last update.

Google Apps Developer Blog でもApps Scriptでのモダン開発について紹介されました。

要点としては次のような感じです。

  • コーディングはローカル環境で行う。好きなエディタやIDE、既存のツールを使える。
  • 主にGoogle(GCP)はApps Scriptのランタイムとして利用する。(Webアプリ、Add-onとしての公開など一部はScript Editorを利用する)
  • Drive APIを利用したApps Scriptのインポート/エクスポートを利用して、ローカルのリソース(js,html)をGoogleドライブ上のApps Scriptプロジェクトにアップロードする。
  • テストの実行にApps Script Execution APIを利用する。

上記のようなApps Scriptでもモダン開発をするための gas-mithril という Yeoman Generator を作りました。まだ、一部(Drive APIを利用する設定など)は自動化できていませんが、Apps Scriptでのモダン開発を始めるのに便利だと思います。
Browserify, Babel, Mithrilの組み合わせで開発を始められるプロジェクトを生成します。

以前の記事 でも書いた拙作の gasify も含まれています:relaxed: みなさんも、Apps Scriptでもモダン開発してみましょう。:smile:

10
10
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
10
10