motiondeveloper / adobe-script-starter

Simple starter for writing Adobe JSX scripts in TypeScript, transpiled to ES3 with SWC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adobe Scripting Setup

A basic setup for writing Adobe .jsx scripts in TypeScript with compilation to ES3 and bundling. This project aims to be a simple and understandable setup for writing quick scripts.

🚧 This setup is still very much under construction, but feedback/contributions are very much welcome!

Commands

  • build compile and bundle script
  • release create release on github with script attached

Features

  • Modern JavaScript syntax compiled to ES3 and bundled using SWC

    Note: syntax is transformed, but no pollyfills/shims are included, so you won't be able to use features such as Array.map and so on. Hoping to add this ability via SWCs core-js integration in the future.

  • Types from bbb999/Types-for-Adobe

    The types for After Effects are included by default. You can add programs in tsconfig.json, by adding them to compilerOptions.types.

  • Debugging with the ExtendScript Debugger

    Pressing F5 will run dist/script.jsx in your selected application. Edit .vscode/launch.json to specify a different script.

About

Simple starter for writing Adobe JSX scripts in TypeScript, transpiled to ES3 with SWC.

License:MIT License


Languages

Language:TypeScript 67.6%Language:JavaScript 32.4%