A starter template for Google Apps Script by google/clasp
- Node.js
- google/clasp
- Global installation is recommended
git clone --depth=1 https://github.com/howdy39/gas-clasp-starter.git <project_name>
cd <project_name>
rm -Rf .git
npm install
What is scriptId ? https://github.com/google/clasp#scriptid-required
{
"scriptId": <your_script_id>,
"rootDir": "dist"
}
The name, version, description, and homepage properties are output as comments at the beginning of the output GAS.
...
"name": "your application name",
"version": "your application version",
"description": "your application description",
"homepage" "your repository url"
...
{
"timeZone": "Asia/Tokyo", ## Change timeZone
"dependencies": {
},
"exceptionLogging": "STACKDRIVER"
}
npm run build
npm run push
This software is released under the MIT License, see LICENSE.txt.