https://github.com/lastlink/google-app-script-ts-jest
Google apps script in typescript with jest debugger support
https://github.com/lastlink/google-app-script-ts-jest
google-apps-script typescript
Last synced: 4 months ago
JSON representation
Google apps script in typescript with jest debugger support
- Host: GitHub
- URL: https://github.com/lastlink/google-app-script-ts-jest
- Owner: lastlink
- Created: 2020-03-29T03:09:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T17:41:45.000Z (almost 3 years ago)
- Last Synced: 2025-04-11T05:43:54.030Z (8 months ago)
- Topics: google-apps-script, typescript
- Language: JavaScript
- Size: 1.93 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- google-apps-script-awesome-list - google-app-script-ts-jest
README
# Google Apps Script Rest Api Typescript & jest
* A google apps script project using typescript with jest and clasp deploy
* visual studio code debugger works for jest
## Getting started
* `npm install`
* login into clasp
* `node .\node_modules\@google\clasp\src login`
* Init new linked gsheet
* `npm run createSheet`
## Run Builds
* `npm run build`
* `npm run watch`
## Deploy
* `npm build upload`
* `npm run build`
## Lint Project
* `npm run lint`
## Run Unit Tests
* `npm run test`
* `npm run test:watch`
* `npm run test:coverage`
## Debugging
* Can use debugger in app script ide in browser or jest debugger in visual studio code