Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 961 Bytes

File metadata and controls

41 lines (30 loc) · 961 Bytes

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