Skip to content

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

License

Notifications You must be signed in to change notification settings

den-frie-vilje/adobe-script-starter

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 67.6%
  • JavaScript 32.4%