Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/howdy39/gas-clasp-starter
A starter template for Google Apps Script by clasp
https://github.com/howdy39/gas-clasp-starter
apps-script boilerplate clasp gas gas-clasp-starter google-apps-script javascript rollup template typescript
Last synced: 4 months ago
JSON representation
A starter template for Google Apps Script by clasp
- Host: GitHub
- URL: https://github.com/howdy39/gas-clasp-starter
- Owner: howdy39
- License: mit
- Created: 2018-03-14T13:03:45.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T11:14:35.000Z (5 months ago)
- Last Synced: 2024-02-04T11:41:31.287Z (5 months ago)
- Topics: apps-script, boilerplate, clasp, gas, gas-clasp-starter, google-apps-script, javascript, rollup, template, typescript
- Language: TypeScript
- Homepage:
- Size: 1.17 MB
- Stars: 230
- Watchers: 8
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- google-apps-script-awesome-list - howdy39/gas-clasp-starter
- google-apps-script-awesome-list - howdy39/gas-clasp-starter
- google-apps-script-awesome-list_contributorpw - howdy39/gas-clasp-starter
README
# gas-clasp-starter
A starter template for Google Apps Script by [google/clasp](https://github.com/google/clasp)## Tech Stack
- [google/clasp](https://github.com/google/clasp)
- [rollup](https://rollupjs.org/)
- [TypeScript](http://www.typescriptlang.org/)
- [ESLint](https://github.com/eslint/eslint)
- [Prettier](https://prettier.io/)
- [Jest](https://facebook.github.io/jest/)## Prerequisites
- [Node.js](https://nodejs.org/)
- [google/clasp](https://github.com/google/clasp)## Getting Started
### Clone the repository
```
git clone --depth=1 https://github.com/howdy39/gas-clasp-starter.git
cd
rm -Rf .git
```### Install dependencies
```
npm install
```### Configuration
#### Open `.clasp.json`, change scriptId
What is scriptId ? https://github.com/google/clasp#scriptid-required
```
{
"scriptId": ,
"rootDir": "dist"
}
```#### Open `.package.json`, change properties
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"
...
```#### Open `src/appsscript.json`, change timeZone (optional)
[Apps Script Manifests](https://developers.google.com/apps-script/concepts/manifests)
```
{
"timeZone": "Asia/Tokyo", ## Change timeZone
"dependencies": {
},
"exceptionLogging": "STACKDRIVER"
}
```### Development and build project
```
npm run build
```### Push
```
npm run push
```## License
This software is released under the MIT License, see LICENSE.txt.