First, clone the repo via git:
git clone https://github.com/pyoner/gas-lib-boilerplate.git your-project-name
And then install dependencies.
$ cd your-project-name && npm install
Put your code inside src/lib directory. To publish lib code on npm run:
npm publish
-
npm install -g node-google-apps-script
more info - clone this repo and move to inside repo directory
-
npm install .
install deps - change
gapps.config.json
fileId
To build project run:
npm run build
To deploy project run:
npm run deploy
or run:
gapps upload