gas-template

A template to write Google Apps Script in TypeScript.

Prerequisites

Getting Started

Clone the repository

git clone git@github.com:takoyaki9n/gas-template.git <project_name>

Install dependencies

cd <project_name>
npm install

Configuration

Open .clasp.json and change scriptId.

{
  "scriptId": "Script ID",
  "rootDir": "dist"
}

Ignore .clasp.json (Optional)

If you don't want to push your scriptId:

git update-index --assume-unchanged .clasp.json

Build project

npm run build

Push

clasp push

Documents

Others

This repository is created based on howdy39/gas-clasp-starter.

License

MIT