Skip to content

gas-deno-esbuild-starter is a starter kit for Google Apps Script by Deno.

License

Notifications You must be signed in to change notification settings

Kazuki-tam/gas-deno-esbuild-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gas-deno-esbuild-starter

gas-deno-esbuild-starter is a starter kit for Google Apps Script by Deno.

Status

Release (latest by date) Issues Maintenance Release date

Features

  • Develop locally with TypeScript, Clasp and Deno
  • Bundle your files with esbuild

Main dependencies

Prerequisites

🦕 How to install Deno

How to use

Creating a repository from this template and cloning the repository.

Login google account

deno task login

Connect to your existing project

Create a .clasp.json at the root, and then add these settings. Open the app script from your spreadsheet and check out your script id on the setting page.

{
  "scriptId": "<SCRIPT_ID>",
  "rootDir": "./dist"
}

Deploy your code to the existing project.

deno task deploy

Available Commands

Build your project.

deno task build

Build your project files and force writes all local files to script.google.com.

deno task deploy

Open the current directory's clasp project on script.google.com.

deno task open

Google Apps Script

Google Apps Script is a JavaScript-based scripting language that allows you to extend Google's G Suite of online productivity tools (e.g. Google Sheets, Google Forms, Gmail, etc.). It allows you to automate tasks, connect to external APIs, and build custom tools and applications that interact with G Suite data.

📖 Reference overview

Clasp

Clasp (Command Line Apps Script Projects) is a command-line tool that allows you to develop, manage, and deploy Google Apps Script projects.

📖 Command Line Interface using clasp

License

MIT

About

gas-deno-esbuild-starter is a starter kit for Google Apps Script by Deno.

Resources

License

Stars

Watchers

Forks