This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
apps-script-starter with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
For help, please contact Amit Agarwal email@example.com
The Apps Script Starter kit makes it easy for you to quickly setup a modern development environment and build workflow. Here's everything that's included in the starter kit to get you started:
Write code using ES6 features like arrow functions, destructuring, classes, template literals, and the Babel transpiler will transform your ECMAScript 2015/2017 code to ES5 that Apps Script can understand.
A command line utility for working with Google Apps Script projects. You can develop code locally and push it to production, manage your manifest file, deploy web apps and publish new versions of apps.
This incredibly powerful source code editor from Microsoft provides an integrated development environment and has built-in support for Emmet, Intellisense for code autocompletion, Command Line Terminal, Git integration, Node.js , TypeScript and more.
Setting up a modern development environment for building Google Apps Script projects is easy and quick. You also need to install Node.js which includes the npm package manager.
1. Clone the repository and install npm dependencies
git clone https://github.com/labnol/apps-script-starter cd apps-script-starter npm install
2. Log in to Google clasp and authorize with your Google account.
npx clasp login
3. Replace the "scriptId" value in the .clasp.json file.
4. Include the necessary OAuth Scopes in the appsscript.json file
5. Deploy the project
npm run deploy
dist directory contains the bundled code that is pushed to Google Apps Script.
Reach him on Twitter or email firstname.lastname@example.org
Contributions and feature requests are welcome. If you are using the Google Apps Script starter package and fixed a bug for yourself, please consider submitting a PR!