Skip to content

kumardeo/google-apps-script-template

Repository files navigation

Google Apps Script Template

A TypeScript template for Google Apps Script. Write your functions in TypeScript, export them from src/index.ts, and they'll be available to call in Google Apps Script.

Getting Started

  1. Create a new Google Apps Script project or use an existing one
  2. Get your script ID from the Apps Script editor (Project Settings)
  3. Clone/copy this template
  4. Update .clasp.json with your script ID:
    {
      "scriptId": "YOUR_SCRIPT_ID_HERE"
    }
  5. Install dependencies:
    pnpm install
  6. Start developing in src/index.ts

Development

  • pnpm run dev - Watch mode
  • pnpm run build - Build for production
  • pnpm run push - Build and deploy to Google Apps Script

About

A TypeScript template for Google Apps Script.

Topics

Resources

License

Stars

Watchers

Forks

Contributors