Opinionated template for new Figma plugins without UI.
- TypeScript 100%
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| code.ts | ||
| LICENSE | ||
| manifest.json | ||
| NOTES.md | ||
| package.json | ||
| README.md | ||
| TEMPLATE.md | ||
| tsconfig.json | ||
template-figma-plugin-script
Opinionated template for new Figma plugins without UI.
Getting Started
- Go to or create the plugin folder.
- Get the template files:
npx tiged https://codeberg.org/joaopalmeiro/template-figma-plugin-script
- Search for
template-figma-plugin-scriptand replace it with the plugin name. Ignore the template repository URL in the NOTES.md file. - Search for
Opinionated template for new Figma plugins without UI.and replace it with the (short) plugin description. - Search for
João Palmeiroand replace it with the author's name. - Search for
joaopalmeiro@proton.meand replace it with the author's email address. - Change the
author.urlfield in thepackage.jsonfile to the author's website/social media profile. - Install fnm (if necessary).
- Run the first two commands in the
Developmentsection to install Node.js and the development dependencies. - Open the NOTES.md file and install the plugin-specific dependencies according to the first command in the
Commandssection. - Delete the TEMPLATE.md file.
- Delete the
Getting Startedsection.
Development
Enable Hot reload plugin in Figma.
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --version
npm install
npm run dev
npm run lint
npm run format
Deployment
npm run build