kawamataryo / google-app-script-starter-template

Starter template for Google App Script development in local.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google App Script starter template

Starter template for Google App Script development in local.

🎨 Features

  • Deploy local project with clasp
  • Use TypeScript
  • Bundle file with Webpack5 (You can use npm modules)
  • Lint code with ESLint
  • Format code with prettier
  • Pre commit lint and format with husky and lint-stage

🚀 Try it now!

GitHub Template Create a repo from this template on GitHub

Fix the project_id in .clasp.json to your GAS project.

{
  "scriptId": "<YOUR_SCRIPT_ID>",
  "rootDir": "./dist"
}

⚒ Usage

Build

Build project with Webpack.

npm run build

Deploy

Deploy project with clasp.

npm run deploy

About

Starter template for Google App Script development in local.


Languages

Language:TypeScript 69.5%Language:JavaScript 25.4%Language:Shell 5.2%