gas-deno-esbuild-starter
is a starter kit for Google Apps Script by Deno.
- Develop locally with TypeScript, Clasp and Deno
- Bundle your files with esbuild
Creating a repository from this template and cloning the repository.
deno task login
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
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 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.
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
MIT