Skip to content

blhsrwznrghfzpr/tnx-search-engine

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

73692d2 · Mar 3, 2023

History

78 Commits
Oct 4, 2020
Nov 3, 2020
Nov 5, 2020
Sep 25, 2020
Sep 25, 2020
Oct 3, 2020
Sep 25, 2020
Sep 25, 2020
Sep 25, 2020
Mar 3, 2023
Oct 3, 2020
Sep 25, 2020
Sep 25, 2020
Sep 25, 2020

Repository files navigation

gas-clasp-starter

A starter template for Google Apps Script by google/clasp

Article

(Japanese) Google Apps Script をローカル環境で快適に開発するためのテンプレートを作りました

Tech Stack

Prerequisites

Getting Started

Clone the repository

git clone --depth=1 https://github.com/howdy39/gas-clasp-starter.git <project_name>
cd <project_name>
rm -Rf .git

Install dependencies

npm install

Configuration

Open .clasp.json, change scriptId

What is scriptId ? https://github.com/google/clasp#scriptid-required

{
  "scriptId": <your_script_id>,
  "rootDir": "dist"
}

Open src/appsscript.json, change timeZone (optional)

Apps Script Manifests

{
  "timeZone": "Asia/Tokyo", ## Change timeZone
  "dependencies": {
  },
  "exceptionLogging": "STACKDRIVER"
}

Development and build project

npm run build

Push

clasp push

Advanced

Using Es6 with Apps Script

Using Es6 with Apps Script

Others

howdy39/gas-clasp-library

howdy39/gas-clasp-library is sample project made with Google Apps Script Libraries.
also, gas-clasp-library use circle CI.

takanakahiko/sao-clasp

takanakahiko/sao-clasp was made based on gas-clasp-starter and SAO.

License

This software is released under the MIT License, see LICENSE.txt.