https://github.com/gecko655/minimum-clasp3-typescript-starter
Minimal starter template for clasp v3 with TypeScript
https://github.com/gecko655/minimum-clasp3-typescript-starter
clasp gas google-apps-script typescript
Last synced: 5 months ago
JSON representation
Minimal starter template for clasp v3 with TypeScript
- Host: GitHub
- URL: https://github.com/gecko655/minimum-clasp3-typescript-starter
- Owner: gecko655
- License: mit
- Created: 2025-04-17T08:44:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-10T07:25:30.000Z (11 months ago)
- Last Synced: 2025-07-10T16:05:02.757Z (11 months ago)
- Topics: clasp, gas, google-apps-script, typescript
- Language: JavaScript
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minimum-clasp3-typescript-starter
A minimal TypeScript starter for Google Apps Script projects using clasp v3, which drops native support for TypeScript transpiling.
## Features
- Minimal Google Apps Script (GAS) repository setup for TypeScript with esbuild
- Just 6 dependencies: `@google/clasp`, `@biomejs/biome`, `@types/google-apps-script`, `esbuild`, `esbuild-gas-plugin`, and `typescript`
- No testing, no complicated build process, no project-specific formatting rules
- If you want to use more features, you can add them yourself
## Usage
1. Clone this repository
2. Run `yarn install`
3. Edit `.clasp.json` to set your script ID
4. Edit `src/index.ts` to write your code
5. (Optional) Edit `dist/appsscript.json` to change script timezone.
6. Authenticate with Google using `yarn clasp login`
- See [clasp official documentation](https://github.com/google/clasp?tab=readme-ov-file#authorization)
7. Run `yarn format` to foramt your code
8. Run `yarn deploy` to deploy your code