A template to write Google Apps Script in TypeScript.
git clone git@github.com:takoyaki9n/gas-template.git <project_name>
cd <project_name>
npm install
Open .clasp.json
and change scriptId.
{
"scriptId": "Script ID",
"rootDir": "dist"
}
If you don't want to push your scriptId:
git update-index --assume-unchanged .clasp.json
npm run build
clasp push
This repository is created based on howdy39/gas-clasp-starter.
MIT