Skip to content
This repository has been archived by the owner. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 891 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 891 Bytes

GAS TS Env

日本語 / English】

This is the environment created for developing Google Apps Script (GAS) with TypeScript.
You can use Google's "clasp" to develop it locally.
Because it's created locally, it can also be versioned in Git.

Usage

  1. Duplicate the repository by pressing Use this template and download it locally.

  2. Install the package

$ yarn
  1. Authenticate clasp with your Google account
$ yarn login
  1. Create or connect the project
# If there is no project locally
$ yarn make <project-name> # Create a new project
# or
$ yarn clone <project-id> # Connect to an existing project

# If you are already connected to the project
$ yarn pull # Get code from a connected project
  1. Write whatever you want!

  2. Upload to the project

$ yarn push