/gas-sample

Primary LanguageTypeScriptMIT LicenseMIT

gas-clasp-starter

A starter template for Google Apps Script by google/clasp

Article

(Japanese) Google Apps Script をローカル環境で快適に開発するためのテンプレートを作りました

Tech Stack

Prerequisites

Getting Started

Clone the repository

git clone https://github.com/uehara1414/gas-sample

Install dependencies

cd gas-sample
npm install

Configuration

Copy .clasp.sample.json to .clasp.json, change scriptId

What is scriptId ? https://github.com/google/clasp#scriptid-required

cp .clasp.sample.json .clasp.json
vim .clasp.json

Open src/appsscript.json, change timeZone (optional)

Apps Script Manifests

{
  "timeZone": "Asia/Tokyo", ## Change timeZone
  "dependencies": {
  },
  "exceptionLogging": "STACKDRIVER"
}

Development and build project

npm run build

Push

clasp push

License

This software is released under the MIT License, see LICENSE.txt.