All Projects → fusepilot → Parcel Plugin Cep

fusepilot / Parcel Plugin Cep

Licence: mit
Zero configuration CEP extension builder for Parcel

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Parcel Plugin Cep

Grunt Cep
A Grunt plugin that helps debugging and packaging HTML5-based extensions for Adobe Creative Cloud applications.
Stars: ✭ 40 (+37.93%)
Mutual labels:  adobe, cep
Parcel Plugin Asset Copier
Copy static assets to your bundle dir
Stars: ✭ 25 (-13.79%)
Mutual labels:  parcel
Spectrum Web Components
Spectrum Web Components
Stars: ✭ 314 (+982.76%)
Mutual labels:  adobe
React Parcel Example
Minimum viable React app with Parcel Bundler
Stars: ✭ 488 (+1582.76%)
Mutual labels:  parcel
Spreads
Series and Panels for Real-time and Exploratory Analysis of Data Streams
Stars: ✭ 353 (+1117.24%)
Mutual labels:  cep
Esper
Esper Complex Event Processing, Streaming SQL and Event Series Analysis
Stars: ✭ 680 (+2244.83%)
Mutual labels:  cep
Getting Started Guides
Getting Started guides and samples for CEP extensions
Stars: ✭ 296 (+920.69%)
Mutual labels:  cep
Angular Parcel Boilerplate
Parcel template for using Angular.io
Stars: ✭ 15 (-48.28%)
Mutual labels:  parcel
Cep Resources
Tools and documentation for building Creative Cloud app extensions with CEP
Stars: ✭ 916 (+3058.62%)
Mutual labels:  adobe
Midi2lr
An application and plugin to remotely control Lightroom with a MIDI controller
Stars: ✭ 485 (+1572.41%)
Mutual labels:  adobe
Enferno
A Python framework based on Flask microframework, with batteries included, and best practices in mind.
Stars: ✭ 385 (+1227.59%)
Mutual labels:  parcel
Flesh
Android上福利满满的app,宅男神器
Stars: ✭ 363 (+1151.72%)
Mutual labels:  parcel
Creative Cloud Linux
PlayOnLinux install script for Adobe Creative Cloud
Stars: ✭ 725 (+2400%)
Mutual labels:  adobe
Aem Project Archetype
Maven template to create best-practice websites on AEM.
Stars: ✭ 337 (+1062.07%)
Mutual labels:  adobe
Indian Courier Api
API to track parcel from various Indian Logistics Providers
Stars: ✭ 26 (-10.34%)
Mutual labels:  parcel
Serendipity
Serendipity is an open source Customer Engagement Platform
Stars: ✭ 297 (+924.14%)
Mutual labels:  cep
React Suspense Starter
Experiment with React Suspense right meow.
Stars: ✭ 370 (+1175.86%)
Mutual labels:  parcel
Articles Translator
📚Translate the distinct technical blogs. Please star or watch. Welcome to join me.
Stars: ✭ 606 (+1989.66%)
Mutual labels:  parcel
Nexrender
📹 Data-driven render automation for After Effects
Stars: ✭ 946 (+3162.07%)
Mutual labels:  adobe
Weather Preactpi
A tiny UI for daily weather forcasts ⛈
Stars: ✭ 13 (-55.17%)
Mutual labels:  parcel

Parcel CEP Plugin

Zero configuration CEP extension builder for Parcel.

Quick Start

git clone https://github.com/fusepilot/parcel-plugin-cep-starter.git
cd parcel-plugin-cep-starter
npm
npm run start

Open your CC app of choice, find your extension under Window > Extensions, and start developing.

Building

To create a production build:

npm run build

Packaging

To create a .zxp for deployment:

npm run zxp

A versioned .zxp file will be placed inside archive.

CEP Configuration

You can configure CEP a either through environment variables or the package.json of your project.

package.json

"cep": {
    "name": "My Extension",
    "id": "com.mycompany.myextension",
    "hosts": "*"
}

Environment Variables

Either set thorugh your terminal or add to the .env file.

NAME="My Extension"
BUNDLE_ID="com.mycompany.myextension"
HOSTS="*"

Options

Id

This is the unique id of the extension.

Version

This sets the version of the bundle.

Name

This sets the name of extension as it will show in the application.

Hosts

By default, the extension will target all known Adobe hosts. To target specific hosts, uncomment the HOSTS variable to .env and modify the list of the hosts you want to target.

For example, to target just Illustrator and After Effects, you would add this to your .env file:

HOSTS="ILST, AEFT"

And to target specific versions:

HOSTS="ILST, [email protected]*, [email protected], [email protected][5.0,10.0]"

This will target all versions of Illustrator and In Design, Photoshop 6.0, and After Effects 5.0 - 10.0.

Icon

To add a custom panel icon, add all icon files inside the public folder and set their paths inside your .env file:

ICON_NORMAL="./assets/icon-normal.png"
ICON_ROLLOVER="./assets/icon-rollover.png"
ICON_DARK_NORMAL="./assets/icon-dark.png"
ICON_DARK_ROLLOVER="./assets/icon-dark-rollover.png"

Cerificate Signing

In order to create a valid ZXP, you will need to provide the following variables replaced with the correct information inside your .env.

CERTIFICATE_COUNTRY="US"
CERTIFICATE_PROVINCE="CA"
CERTIFICATE_ORG="MyCompany"
CERTIFICATE_NAME="com.mycompany"
CERTIFICATE_PASSWORD="mypassword"

Panel Size

PANEL_WIDTH=500
PANEL_HEIGHT=500

Communicating with Extendscript

There are few functions that you can import from the cep-interface package to ease Extendscript communication from CEP.

loadExtendscript(extendScriptFileName: string): Promise

Loads and evaluates the specified file in the src/extendscript directory. Returns a promise with the result.

import { loadExtendscript } from 'cep-interface'

loadExtendscript('index.jsx')

evalExtendscript(code: string): Promise

Evaluates the specified code. Returns a Promise.

import { evalExtendscript } from 'cep-interface'

evalExtendscript('alert("Hello!");') // alerts "Hello!" inside the app

If you return a JSON string using json2 or similar from Extendscript, you can get the parsed result.

import { evalExtendscript } from 'cep-interface'

evalExtendscript('JSON.stringifiy({foo: "bar"});')
  .then(result => console.log(result)) // prints {foo: "bar"}
  .catch(error => console.warn(error))

Other functions

There are a few other functions available in addition.

openURLInDefaultBrowser(url: string)

import { openURLInDefaultBrowser } from 'cep-interface'

openURLInDefaultBrowser('www.google.com')

Opens the url in the default browser. Will also work when viewing outside the target application in a browser.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].