https://github.com/pyoner/gas-lib-boilerplate
Google Apps Script lib boilerplate
https://github.com/pyoner/gas-lib-boilerplate
gas google google-apps-script
Last synced: 5 months ago
JSON representation
Google Apps Script lib boilerplate
- Host: GitHub
- URL: https://github.com/pyoner/gas-lib-boilerplate
- Owner: pyoner
- License: mit
- Created: 2017-01-11T09:49:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-12T09:13:41.000Z (almost 9 years ago)
- Last Synced: 2025-06-06T14:38:37.114Z (7 months ago)
- Topics: gas, google, google-apps-script
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Apps Script lib boilerplate
## Install
First, clone the repo via git:
```bash
git clone https://github.com/pyoner/gas-lib-boilerplate.git your-project-name
```
And then install dependencies.
```bash
$ cd your-project-name && npm install
```
## Usage for lib
Put your code inside src/lib directory.
To publish lib code on npm run:
```bash
npm publish
```
# Optional actions
## Install
1. `npm install -g node-google-apps-script` [more info](https://www.npmjs.com/package/node-google-apps-script)
2. clone this repo and move to inside repo directory
3. `npm install .` install deps
4. change `gapps.config.json` fileId
## Usage for test app or lib code on a server
To build project run:
```bash
npm run build
```
To deploy project run:
```bash
npm run deploy
```
or run:
```bash
gapps upload
```