Skip to content
forked from google/aside

🚀 Apps Script development with formatting, linting, testing and more!

License

Notifications You must be signed in to change notification settings

akushnarov/aside

 
 

Repository files navigation

Apps Script in IDE (ASIDE)

NPM Version GitHub Action: CI Code Style: Google

Overview

Apps Script in IDE (ASIDE) supports modern, robust and scalable Apps Script development by providing a framework for a local coding environment capable of formatting, linting, testing and much more.

Here are the main features:

  • TypeScript

    Write your code in TypeScript. It will be automatically compiled and bundled when deploying

  • Formatting / Linting

    Leverage the power of ESLint and Prettier to enforce a unique coding style amongst collaborators

  • Testing

    Use Jest to test your code before deploying

  • Multiple Environments

    Seemlessly switch between dev and prod environments to push your code to

Getting Started

The simplest way to get started is:

npx @google/aside init

What it does

After running the init command above, ASIDE will go ahead and do the following:

  • Add configuration files

    E.g. for ESLint, Prettier, Jest, ...

  • Set convenience scripts in package.json

    Those scripts include: lint, build and deploy, among others

  • Install necessary dependencies

    Everything required for formatting, linting, testing, etc. will be installed automatically

  • Set up clasp

    ASIDE is using clasp to pull and push code from and to Apps Script

Options

You can provide the init command with some convenience options:

  • --yes / -y

    Answer 'yes' to all prompts

  • --no / -n

    Answer 'no' to all prompts

  • --title/ -t

    Set project title without being asked for it

  • --script-dev

    Set Script ID for dev environment without being asked for it

  • --script-prod

    Set Script ID for production environment without being asked for it

Disclaimer

This is not an officially supported Google product.

About

🚀 Apps Script development with formatting, linting, testing and more!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 60.7%
  • TypeScript 37.6%
  • Shell 1.7%