Skip to content

PauloFerm/GoogleAppsTypeScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Apps (Type)Script

This repository contains a simple example to start a Google Apps Script project using Typescript. No transpilation is needed, you can deploy the project using clasp push.

File numeration

The execution order is name-sensitive; as a result, the module directory has a 0- prefix. We recommend continuing to use numbers to name your subsequent modules and files within the src/ directory, like the example below:

src/
    0-module/
    1-utilities/
    2-macros/
    3-spagetti/
    ...
    main.ts

Identify your script

In the .clasp.json file, replace the scriptId field with the ID of the target script.

{
  "scriptId": "YOUR-SCRIPT-ID",
  "rootDir": "./src"
}

On Windows, the root directory must have backslashes to function properly.

{
  "scriptId": "YOUR-SCRIPT-ID",
  "rootDir": ".\\src"
}

Useful URLs

Releases

No releases published

Packages

No packages published