https://github.com/kawana77b/extendscript-ts-template
Template for writing Extend Script in Typescript for After Effects.
https://github.com/kawana77b/extendscript-ts-template
after-effects
Last synced: 3 months ago
JSON representation
Template for writing Extend Script in Typescript for After Effects.
- Host: GitHub
- URL: https://github.com/kawana77b/extendscript-ts-template
- Owner: kawana77b
- License: mit
- Created: 2023-12-02T11:43:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T15:30:50.000Z (about 2 years ago)
- Last Synced: 2025-03-24T10:50:41.960Z (10 months ago)
- Topics: after-effects
- Language: TypeScript
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# extend-script-ts-template
Template for writing [Extend Script](https://extendscript.docsforadobe.dev/index.html) in Typescript for [After Effects](https://ae-scripting.docsforadobe.dev/).
This template has only been tested on Windows.
Writing JSX (Adobe Extend Script) in After Effects is a tiresome task.
IntelliSense, Typescript and ESLint can be introduced to increase your productivity.
During development, it is divided into multiple modules and type definitions are used to improve readability.
And bundle into one file by Rollup. Ensures portability from programmer to designer.
It also includes a workflow for uploading and building artifacts with Github Actions.
You can find attempts to do this in several repositories. This is my template.
> [!NOTE]
> The compilation of TypeScript ES3 is deprecated in TypeScript 5.5, so the `package.json` for dependent versions is fixed.
This repository is described in the following article (Japanese only):
[After Effects用のScriptをTypescriptで開発する (zenn)](https://zenn.dev/shimarisu_121/articles/2b9d67fad9c637)
## Environment
- Windows
- After Effects >= 2022
- Node.js >= 20
- pnpm
## Usage
Write code in `src/index.ts`
```bash
pnpm install
npm run build
```
## Modules
The `src/lib` folder contains a small utility module.
This may be separated out, but there are functions intended to prepare some elements that are difficult to handle in Extend Script.
For example, `filter`, `map`.