1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Google Apps Script (GAS) ローカル開発環境の構築方法

Posted at

Google Apps Script (GAS) ローカル開発環境の構築方法のメモ

必要な条件

  • VSCode のインストール
  • Node.js のインストール(npm使用可能)

開発環境の構築手順

  1. GoogleAppsScriptAPIの有効化:

    • GoogleAppsScriptAPIを設定画面から有効にします。
  2. asideを用いたプロジェクト作成:

    • npx @google/aside init コマンドでプロジェクトを初期化。
    • claspの設定、Typescript記述、ESLint、Prettier設定、Jestテスト環境が整備されます。
  3. デプロイ:

    • 開発環境へのデプロイ: $ npm run deploy
    • 本番環境へのデプロイ: $ npm run deploy:prod
    • 必要に応じて、clasp-dev.jsonclasp-prod.jsonを編集します。
1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?