Starter template for Google App Script development in local.
- 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
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"
}
Build project with Webpack.
npm run build
Deploy project with clasp.
npm run deploy