Skip to content

Demonstrates using NPM and Clasp to develop Google Apps Script projects

License

Notifications You must be signed in to change notification settings

TimJohns/AddOn-With-NPM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AddOn_With_NPM

Demonstrates using NPM + clasp to build Apps Script projects in a modular way.

Ideally, MasterAddOn and LibraryOne would be different repositories.

Prerequisites

You'll need a working Clasp installation: https://github.com/google/clasp

After installing clasp, go to the MasterAddOn directory in this repository.

Initialize a new Google Apps Script project:

clasp create MasterAddOn

Install dependencies (LibraryOne) with NPM:

npm install

Push the project to script.google.com:

clasp push

Open the project:

clasp open

You can verify the LibraryOne code is useable by running the script as an add-on, or by running the onOpen function from the script editor.

Authors

License

This project is licensed under the MIT License.

About

Demonstrates using NPM and Clasp to develop Google Apps Script projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%