All Projects → pklaschka → xd-plugin-boilerplate

pklaschka / xd-plugin-boilerplate

Licence: MIT License
A boilerplate for plugins for Adobe XD CC including preconfigured linting, autocompletion and Webpack for bundling

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to xd-plugin-boilerplate

starbase
⭐ Production-ready website boilerplate made with webpack 5, modern JS (via Babel 7) & Sass
Stars: ✭ 70 (+180%)
Mutual labels:  eslint, boilerplate-template
user-profile-plugin-adobe-xd
User Profile plugin for Adobe XD enables designers to displays beautiful generated avatars 📸 in your design prototype
Stars: ✭ 17 (-32%)
Mutual labels:  adobe, adobe-xd
Data Populator
A plugin for Sketch and Adobe XD to populate your design mockups with meaningful data. Goodbye Lorem Ipsum. Hello JSON.
Stars: ✭ 1,665 (+6560%)
Mutual labels:  adobe, adobe-xd
xd-storage-helper
A little helper to make storing key-value-pairs (e.g. settings) for Adobe XD plugins easier.
Stars: ✭ 22 (-12%)
Mutual labels:  extensibility, adobe
ExpressSimpleBoilerPlate
Kerangka project Express JS dengan tambahan ES2015, ESLint, Webpack, Babel, beberapa middleware pengaman, Worker Threads, mock data generator, dan masih banyak lagi.
Stars: ✭ 22 (-12%)
Mutual labels:  eslint, boilerplate-template
AdobeXD-maps
🗺A map generator plugin for Adobe XD using google maps API
Stars: ✭ 36 (+44%)
Mutual labels:  adobe, adobe-xd
Html Sass Babel Webpack Boilerplate
Webpack 4 + Babel + ES6 + SASS + HTML Modules + Livereload
Stars: ✭ 35 (+40%)
Mutual labels:  eslint, boilerplate-template
plugin-toolkit-react
Adobe XD plugin UI components for React
Stars: ✭ 30 (+20%)
Mutual labels:  adobe, adobe-xd
awesome-vue-boilerplate
😍 Awesome Vue Boilerplate 🥳 Vue 🥰 Vuex, vuex-pathify 🤗 element-ui 🤲 tailwindcss
Stars: ✭ 60 (+140%)
Mutual labels:  eslint, boilerplate-template
webpack-typescript-react
Webpack 5 boilerplate with support of most common loaders and modules (see tags and description)
Stars: ✭ 185 (+640%)
Mutual labels:  eslint, boilerplate-template
Artboard-Plus-XD
Artboard tools to speed up your Adobe XD workflow. Rearrange artboards into grid, sort them by name or create an artboard around selection.
Stars: ✭ 41 (+64%)
Mutual labels:  adobe, adobe-xd
presetter
🛹 Reuse and manage build scripts, devDependencies and config files from your favourite presets, instead of copy and paste!
Stars: ✭ 61 (+144%)
Mutual labels:  eslint
gulp-webpack-boilerplate
A good foundation for your next frontend project.
Stars: ✭ 56 (+124%)
Mutual labels:  eslint
eslint-plugin
😎 基于 @lint-md,提供 eslint-plugin,让 lint-md 玩家在 IDE 中得到愉悦的文档编写体验。
Stars: ✭ 22 (-12%)
Mutual labels:  eslint
vuelectro
Bare minimum, simplistic, production ready scaffolding/build tool for developing with Electron and Vue.Js
Stars: ✭ 19 (-24%)
Mutual labels:  boilerplate-template
extendscript-starter
Starter project for extendscript-bundler + live reload capabilities
Stars: ✭ 26 (+4%)
Mutual labels:  adobe
react16-seed-with-apollo-graphql-scss-router4-ssr-tests-eslint-prettier-docker-webpack3-hot
Seed to create your own project using React with Apollo GraphQL client
Stars: ✭ 19 (-24%)
Mutual labels:  eslint
2life-server
💌 双生:遇见另一半的美好:)(服务端)
Stars: ✭ 66 (+164%)
Mutual labels:  eslint
codeclimate-eslint
Code Climate Engine for ESLint
Stars: ✭ 86 (+244%)
Mutual labels:  eslint
eslint-config-adjunct
A reasonable collection of plugins to use alongside your main esLint configuration
Stars: ✭ 39 (+56%)
Mutual labels:  eslint

Adobe XD plugin boilerplate

A quick start boilerplate to begin a plugin for Adobe XD CC. It uses webpack for bundling and therefore has support for npm modules (for demonstration purposes, it has the xd-storage-helper preinstalled). It also comes with the typings (https://github.com/AdobeXD/typings) preconfigured for autocompletion so you can jump-start your plugin.

Setup

Once you've cloned the repo, you merely need to run npm install in the root folder of the (cloned) project from your console. After that, you'll need to adjust the manifest.json in the dist folder and after that, you're ready to go.

Usage

The main two folders you'll be working in are the src folder (where all your JavaScript source code gets into) as well as the dist folder, which is where your code gets compiled into and where you'll need to put all the "static" resources (like images, icons etc. – also your manifest.json file is here).

It is the dist folder that gets compiled into your .xdx plugin and what provides your 'valid' plugin code.

Commands

npm run build

This will build (i.e. compile) your plugin and automatically generate a dist.xdx file which can be found in the root folder and is ready to get submitted for review in the Adobe developer console.

npm run compile

Does the exact same thing as npm run build, but does not generate a dist.xdx file (and only compiles your plugin so it "lives" in your dist folder).

npm run debug:install

This will build (or compile) your plugin and install it in the development folder of Adobe XD once. Please note that this uses the development mode when compiling, making mistakes easier to find. This, however, means your plugin won't get minified.

npm run debug:watch or npm start

Does the same as npm run debug:install, but watches the file system for changes and automatically recompiles and reinstalls the plugin when anything's changed (extremely useful during development).

Please note that you'll still need to run the "Reload plugins" command inside Adobe XD after every new install (may that be via debug:install or every time via debug:watch).

npm run lint

Runs the ESLint linter on the src folder to check for style errors in your code.

Setting up different editors and IDEs

Visual Studio Code

The project should work out of the box in Visual Studio Code, no further configuration should be required.

JetBrains WebStorm

  1. Activate node autocompletion (Preferences=>Languages & Frameworks=>Node.js and npm=>Enable)

Credits

To add autocompletion, this boilerplate uses the MIT-licensed Typescript definitions that can be found at https://github.com/AdobeXD/typings.

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].